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":363.1-57] *) | |
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_import" | |
8 | in | |
9 | structure F_lo_import : sig | |
10 | val typ : | |
11 | ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> uint) fptr T.typ | |
12 | val fptr : | |
13 | unit -> | |
14 | ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> uint) fptr | |
15 | val f : | |
16 | (ST_pg_conn.tag, rw) su_obj ptr * ro uchar_obj ptr -> | |
17 | MLRep.Unsigned.word | |
18 | val f' : | |
19 | (ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> | |
20 | MLRep.Unsigned.word | |
21 | end = struct | |
22 | val typ = FPtrRTTI_45.typ | |
23 | fun fptr () = mk_fptr (FPtrRTTI_45.mkcall, h ()) | |
24 | fun f (x1, x2) | |
25 | = Cvt.ml_uint (call (fptr (), (Light.ptr x1, Light.ptr x2))) | |
26 | fun f' (x1, x2) = Cvt.ml_uint (call (fptr (), (x1, x2))) | |
27 | end | |
28 | end |