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":313.1-72] *) | |
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! *) | |
5 | local | |
6 | open C.Dim C_Int | |
7 | val h = LibpqH.libh "PQgetisnull" | |
8 | in | |
9 | structure F_PQgetisnull : sig | |
10 | val typ : | |
11 | ((ST_pg_result.tag, ro) su_obj ptr' * sint * sint -> sint) fptr T.typ | |
12 | val fptr : | |
13 | unit -> | |
14 | ((ST_pg_result.tag, ro) su_obj ptr' * sint * sint -> sint) fptr | |
15 | val f : | |
16 | (ST_pg_result.tag, ro) su_obj ptr * | |
17 | MLRep.Signed.int * | |
18 | MLRep.Signed.int -> MLRep.Signed.int | |
19 | val f' : | |
20 | (ST_pg_result.tag, ro) su_obj ptr' * | |
21 | MLRep.Signed.int * | |
22 | MLRep.Signed.int -> MLRep.Signed.int | |
23 | end = struct | |
24 | val typ = FPtrRTTI_24.typ | |
25 | fun fptr () = mk_fptr (FPtrRTTI_24.mkcall, h ()) | |
26 | fun f (x1, x2, x3) | |
27 | = Cvt.ml_sint | |
28 | (call | |
29 | (fptr (), (Light.ptr x1, Cvt.c_sint x2, Cvt.c_sint x3))) | |
30 | fun f' (x1, x2, x3) | |
31 | = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2, Cvt.c_sint x3))) | |
32 | end | |
33 | end |