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":369.1-57] *) | |
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 "PQmblen" | |
8 | in | |
9 | structure F_PQmblen : sig | |
10 | val typ : (ro uchar_obj ptr' * sint -> sint) fptr T.typ | |
11 | val fptr : unit -> (ro uchar_obj ptr' * sint -> sint) fptr | |
12 | val f : ro uchar_obj ptr * MLRep.Signed.int -> MLRep.Signed.int | |
13 | val f' : ro uchar_obj ptr' * MLRep.Signed.int -> MLRep.Signed.int | |
14 | end = struct | |
15 | val typ = FPtrRTTI_28.typ | |
16 | fun fptr () = mk_fptr (FPtrRTTI_28.mkcall, h ()) | |
17 | fun f (x1, x2) | |
18 | = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2))) | |
19 | fun f' (x1, x2) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2))) | |
20 | end | |
21 | end |