(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":358.1-65] *) (* [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_write" in structure F_lo_write : sig val typ : ((ST_pg_conn.tag, rw) su_obj ptr' * sint * rw uchar_obj ptr' * uint -> sint) fptr T.typ val fptr : unit -> ((ST_pg_conn.tag, rw) su_obj ptr' * sint * rw uchar_obj ptr' * uint -> sint) fptr val f : (ST_pg_conn.tag, rw) su_obj ptr * MLRep.Signed.int * rw uchar_obj ptr * MLRep.Unsigned.word -> MLRep.Signed.int val f' : (ST_pg_conn.tag, rw) su_obj ptr' * MLRep.Signed.int * rw uchar_obj ptr' * MLRep.Unsigned.word -> MLRep.Signed.int end = struct val typ = FPtrRTTI_48.typ fun fptr () = mk_fptr (FPtrRTTI_48.mkcall, h ()) fun f (x1, x2, x3, x4) = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2, Light.ptr x3, Cvt.c_uint x4))) fun f' (x1, x2, x3, x4) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2, x3, Cvt.c_uint x4))) end end