Build scripts & automatic generation of FFI files
[hcoop/smlsql.git] / libpq / FFI / f-PQbinaryTuples.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":301.1-47] *)
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 "PQbinaryTuples"
8in
9structure F_PQbinaryTuples : sig
10 val typ : ((ST_pg_result.tag, ro) su_obj ptr' -> sint) fptr T.typ
11 val fptr : unit -> ((ST_pg_result.tag, ro) su_obj ptr' -> sint) fptr
12 val f : (ST_pg_result.tag, ro) su_obj ptr -> MLRep.Signed.int
13 val f' : (ST_pg_result.tag, ro) su_obj ptr' -> MLRep.Signed.int
14end = struct
15 val typ = FPtrRTTI_2.typ
16 fun fptr () = mk_fptr (FPtrRTTI_2.mkcall, h ())
17 fun f x1 = Cvt.ml_sint (call (fptr (), Light.ptr x1))
18 fun f' x1 = Cvt.ml_sint (call (fptr (), x1))
19end
20end