Fixing for 110.46
[hcoop/smlsql.git] / libpq / FFI / f-PQftype.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":304.1-55] *)
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 "PQftype"
8in
9structure F_PQftype : sig
10 val typ :
11 ((ST_pg_result.tag, ro) su_obj ptr' * sint -> uint) fptr T.typ
12 val fptr :
13 unit -> ((ST_pg_result.tag, ro) su_obj ptr' * sint -> uint) fptr
14 val f :
15 (ST_pg_result.tag, ro) su_obj ptr * MLRep.Signed.int ->
16 MLRep.Unsigned.word
17 val f' :
18 (ST_pg_result.tag, ro) su_obj ptr' * MLRep.Signed.int ->
19 MLRep.Unsigned.word
20end = struct
21 val typ = FPtrRTTI_22.typ
22 fun fptr () = mk_fptr (FPtrRTTI_22.mkcall, h ())
23 fun f (x1, x2)
24 = Cvt.ml_uint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2)))
25 fun f' (x1, x2) = Cvt.ml_uint (call (fptr (), (x1, Cvt.c_sint x2)))
26end
27end