(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":297.1-48] *) (* [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 "PQresStatus" in structure F_PQresStatus : sig val typ : (ET_'ExecStatusType.tag enum -> rw uchar_obj ptr') fptr T.typ val fptr : unit -> (ET_'ExecStatusType.tag enum -> rw uchar_obj ptr') fptr val f : MLRep.Signed.int -> rw uchar_obj ptr val f' : MLRep.Signed.int -> rw uchar_obj ptr' end = struct val typ = FPtrRTTI_36.typ fun fptr () = mk_fptr (FPtrRTTI_36.mkcall, h ()) fun f x1 = Heavy.ptr (T.pointer T.uchar) (call (fptr (), Cvt.i2c_enum x1)) fun f' x1 = call (fptr (), Cvt.i2c_enum x1) end end