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":252.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 "PQescapeString" | |
8 | in | |
9 | structure F_PQescapeString : sig | |
10 | val typ : | |
11 | (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr T.typ | |
12 | val fptr : | |
13 | unit -> | |
14 | (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr | |
15 | val f : | |
16 | rw uchar_obj ptr * ro uchar_obj ptr * MLRep.Unsigned.word -> | |
17 | MLRep.Unsigned.word | |
18 | val f' : | |
19 | rw uchar_obj ptr' * ro uchar_obj ptr' * MLRep.Unsigned.word -> | |
20 | MLRep.Unsigned.word | |
21 | end = struct | |
22 | val typ = FPtrRTTI_14.typ | |
23 | fun fptr () = mk_fptr (FPtrRTTI_14.mkcall, h ()) | |
24 | fun f (x1, x2, x3) | |
25 | = Cvt.ml_uint | |
26 | (call | |
27 | (fptr (), (Light.ptr x1, Light.ptr x2, Cvt.c_uint x3))) | |
28 | fun f' (x1, x2, x3) | |
29 | = Cvt.ml_uint (call (fptr (), (x1, x2, Cvt.c_uint x3))) | |
30 | end | |
31 | end |