| 1 | (* This file has been generated automatically. DO NOT EDIT! *) |
| 2 | (* [from code at "/usr/include/postgresql/libpq-fe.h":361.1-41] *) |
| 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! *) |
| 5 | local |
| 6 | open C.Dim C_Int |
| 7 | val h = LibpqH.libh "lo_tell" |
| 8 | in |
| 9 | structure F_lo_tell : sig |
| 10 | val typ : ((ST_pg_conn.tag, rw) su_obj ptr' * sint -> sint) fptr T.typ |
| 11 | val fptr : |
| 12 | unit -> ((ST_pg_conn.tag, rw) su_obj ptr' * sint -> sint) fptr |
| 13 | val f : |
| 14 | (ST_pg_conn.tag, rw) su_obj ptr * MLRep.Signed.int -> |
| 15 | MLRep.Signed.int |
| 16 | val f' : |
| 17 | (ST_pg_conn.tag, rw) su_obj ptr' * MLRep.Signed.int -> |
| 18 | MLRep.Signed.int |
| 19 | end = struct |
| 20 | val typ = FPtrRTTI_40.typ |
| 21 | fun fptr () = mk_fptr (FPtrRTTI_40.mkcall, h ()) |
| 22 | fun f (x1, x2) |
| 23 | = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2))) |
| 24 | fun f' (x1, x2) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2))) |
| 25 | end |
| 26 | end |