(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":364.1-69] *) (* [by Matthias Blume's ml-nlffigen (version 0.9.1) for x86-unix] *) (* Send comments and suggestions to blume@tti-c.org. Thanks! *) local open C.Dim C_Int val h = LibpqH.libh "lo_export" in structure F_lo_export : sig val typ : ((ST_pg_conn.tag, rw) su_obj ptr' * uint * ro uchar_obj ptr' -> sint) fptr T.typ val fptr : unit -> ((ST_pg_conn.tag, rw) su_obj ptr' * uint * ro uchar_obj ptr' -> sint) fptr val f : (ST_pg_conn.tag, rw) su_obj ptr * MLRep.Unsigned.word * ro uchar_obj ptr -> MLRep.Signed.int val f' : (ST_pg_conn.tag, rw) su_obj ptr' * MLRep.Unsigned.word * ro uchar_obj ptr' -> MLRep.Signed.int end = struct val typ = FPtrRTTI_44.typ fun fptr () = mk_fptr (FPtrRTTI_44.mkcall, h ()) fun f (x1, x2, x3) = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_uint x2, Light.ptr x3))) fun f' (x1, x2, x3) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_uint x2, x3))) end end