(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":296.1-58] *) (* [by Matthias Blume's ml-nlffigen (version 0.9) for x86-unix] *) (* Send comments and suggestions to blume@research.bell-labs.com. Thanks! *) local open C.Dim C_Int val h = LibpqH.libh "PQresultStatus" in structure F_PQresultStatus : sig val typ : ((ST_pg_result.tag, ro) su_obj ptr' -> ET_'ExecStatusType.tag enum) fptr T.typ val fptr : unit -> ((ST_pg_result.tag, ro) su_obj ptr' -> ET_'ExecStatusType.tag enum) fptr val f : (ST_pg_result.tag, ro) su_obj ptr -> MLRep.Signed.int val f' : (ST_pg_result.tag, ro) su_obj ptr' -> MLRep.Signed.int end = struct val typ = FPtrRTTI_37.typ fun fptr () = mk_fptr (FPtrRTTI_37.mkcall, h ()) fun f x1 = Cvt.c2i_enum (call (fptr (), Light.ptr x1)) fun f' x1 = Cvt.c2i_enum (call (fptr (), x1)) end end