| 1 | (* This file has been generated automatically. DO NOT EDIT! *) |
| 2 | (* [from code at "/usr/include/postgresql/libpq-fe.h":364.1-69] *) |
| 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_export" |
| 8 | in |
| 9 | structure F_lo_export : sig |
| 10 | val typ : |
| 11 | ((ST_pg_conn.tag, rw) su_obj ptr' * uint * ro uchar_obj ptr' -> |
| 12 | sint) fptr T.typ |
| 13 | val fptr : |
| 14 | unit -> |
| 15 | ((ST_pg_conn.tag, rw) su_obj ptr' * uint * ro uchar_obj ptr' -> |
| 16 | sint) fptr |
| 17 | val f : |
| 18 | (ST_pg_conn.tag, rw) su_obj ptr * |
| 19 | MLRep.Unsigned.word * |
| 20 | ro uchar_obj ptr -> MLRep.Signed.int |
| 21 | val f' : |
| 22 | (ST_pg_conn.tag, rw) su_obj ptr' * |
| 23 | MLRep.Unsigned.word * |
| 24 | ro uchar_obj ptr' -> MLRep.Signed.int |
| 25 | end = struct |
| 26 | val typ = FPtrRTTI_44.typ |
| 27 | fun fptr () = mk_fptr (FPtrRTTI_44.mkcall, h ()) |
| 28 | fun f (x1, x2, x3) |
| 29 | = Cvt.ml_sint |
| 30 | (call |
| 31 | (fptr (), (Light.ptr x1, Cvt.c_uint x2, Light.ptr x3))) |
| 32 | fun f' (x1, x2, x3) |
| 33 | = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_uint x2, x3))) |
| 34 | end |
| 35 | end |