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":359.1-66] *) | |
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 "lo_lseek" | |
8 | in | |
9 | structure F_lo_lseek : sig | |
10 | val typ : | |
11 | ((ST_pg_conn.tag, rw) su_obj ptr' * sint * sint * sint -> sint) fptr T.typ | |
12 | val fptr : | |
13 | unit -> | |
14 | ((ST_pg_conn.tag, rw) su_obj ptr' * sint * sint * sint -> | |
15 | sint) fptr | |
16 | val f : | |
17 | (ST_pg_conn.tag, rw) su_obj ptr * | |
18 | MLRep.Signed.int * | |
19 | MLRep.Signed.int * | |
20 | MLRep.Signed.int -> MLRep.Signed.int | |
21 | val f' : | |
22 | (ST_pg_conn.tag, rw) su_obj ptr' * | |
23 | MLRep.Signed.int * | |
24 | MLRep.Signed.int * | |
25 | MLRep.Signed.int -> MLRep.Signed.int | |
26 | end = struct | |
27 | val typ = FPtrRTTI_46.typ | |
28 | fun fptr () = mk_fptr (FPtrRTTI_46.mkcall, h ()) | |
29 | fun f (x1, x2, x3, x4) | |
30 | = Cvt.ml_sint | |
31 | (call | |
32 | (fptr (), | |
33 | (Light.ptr x1, | |
34 | Cvt.c_sint x2, | |
35 | Cvt.c_sint x3, | |
36 | Cvt.c_sint x4))) | |
37 | fun f' (x1, x2, x3, x4) | |
38 | = Cvt.ml_sint | |
39 | (call | |
40 | (fptr (), | |
41 | (x1, Cvt.c_sint x2, Cvt.c_sint x3, Cvt.c_sint x4))) | |
42 | end | |
43 | end |