(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":312.1-72] *) (* [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 "PQgetlength" in structure F_PQgetlength : sig val typ : ((ST_pg_result.tag, ro) su_obj ptr' * sint * sint -> sint) fptr T.typ val fptr : unit -> ((ST_pg_result.tag, ro) su_obj ptr' * sint * sint -> sint) fptr val f : (ST_pg_result.tag, ro) su_obj ptr * MLRep.Signed.int * MLRep.Signed.int -> MLRep.Signed.int val f' : (ST_pg_result.tag, ro) su_obj ptr' * MLRep.Signed.int * MLRep.Signed.int -> MLRep.Signed.int end = struct val typ = FPtrRTTI_24.typ fun fptr () = mk_fptr (FPtrRTTI_24.mkcall, h ()) fun f (x1, x2, x3) = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2, Cvt.c_sint x3))) fun f' (x1, x2, x3) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2, Cvt.c_sint x3))) end end