Fixing for 110.46
[hcoop/smlsql.git] / libpq / FFI / f-PQconnectPoll.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":184.1-61] *)
790a48a1
AC
3(* [by Matthias Blume's ml-nlffigen (version 0.9.1) for x86-unix] *)
4(* Send comments and suggestions to blume@tti-c.org. Thanks! *)
f147efc8
AC
5local
6 open C.Dim C_Int
7 val h = LibpqH.libh "PQconnectPoll"
8in
9structure F_PQconnectPoll : sig
10 val typ :
11 ((ST_pg_conn.tag, rw) su_obj ptr' ->
12 ET_'PostgresPollingStatusType.tag enum) fptr T.typ
13 val fptr :
14 unit ->
15 ((ST_pg_conn.tag, rw) su_obj ptr' ->
16 ET_'PostgresPollingStatusType.tag enum) fptr
17 val f : (ST_pg_conn.tag, rw) su_obj ptr -> MLRep.Signed.int
18 val f' : (ST_pg_conn.tag, rw) su_obj ptr' -> MLRep.Signed.int
19end = struct
20 val typ = FPtrRTTI_6.typ
21 fun fptr () = mk_fptr (FPtrRTTI_6.mkcall, h ())
22 fun f x1 = Cvt.c2i_enum (call (fptr (), Light.ptr x1))
23 fun f' x1 = Cvt.c2i_enum (call (fptr (), x1))
24end
25end