Commit | Line | Data |
---|---|---|
f147efc8 AC |
1 | (* This file has been generated automatically. DO NOT EDIT! *) |
2 | (* [from code at "/usr/include/postgresql/libpq-fe.h":360.1-44] *) | |
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 |
5 | local |
6 | open C.Dim C_Int | |
7 | val h = LibpqH.libh "lo_creat" | |
8 | in | |
9 | structure F_lo_creat : sig | |
10 | val typ : ((ST_pg_conn.tag, rw) su_obj ptr' * sint -> uint) fptr T.typ | |
11 | val fptr : | |
12 | unit -> ((ST_pg_conn.tag, rw) su_obj ptr' * sint -> uint) fptr | |
13 | val f : | |
14 | (ST_pg_conn.tag, rw) su_obj ptr * MLRep.Signed.int -> | |
15 | MLRep.Unsigned.word | |
16 | val f' : | |
17 | (ST_pg_conn.tag, rw) su_obj ptr' * MLRep.Signed.int -> | |
18 | MLRep.Unsigned.word | |
19 | end = struct | |
20 | val typ = FPtrRTTI_43.typ | |
21 | fun fptr () = mk_fptr (FPtrRTTI_43.mkcall, h ()) | |
22 | fun f (x1, x2) | |
23 | = Cvt.ml_uint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2))) | |
24 | fun f' (x1, x2) = Cvt.ml_uint (call (fptr (), (x1, Cvt.c_sint x2))) | |
25 | end | |
26 | end |