Initial revision
[hcoop/smlsql.git] / libpq / FFI / f-PQresultStatus.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":296.1-58] *)
3(* [by Matthias Blume's ml-nlffigen (version 0.9) for x86-unix] *)
4(* Send comments and suggestions to blume@research.bell-labs.com. Thanks! *)
5local
6 open C.Dim C_Int
7 val h = LibpqH.libh "PQresultStatus"
8in
9structure F_PQresultStatus : sig
10 val typ :
11 ((ST_pg_result.tag, ro) su_obj ptr' ->
12 ET_'ExecStatusType.tag enum) fptr T.typ
13 val fptr :
14 unit ->
15 ((ST_pg_result.tag, ro) su_obj ptr' ->
16 ET_'ExecStatusType.tag enum) fptr
17 val f : (ST_pg_result.tag, ro) su_obj ptr -> MLRep.Signed.int
18 val f' : (ST_pg_result.tag, ro) su_obj ptr' -> MLRep.Signed.int
19end = struct
20 val typ = FPtrRTTI_37.typ
21 fun fptr () = mk_fptr (FPtrRTTI_37.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