(* This file has been generated automatically. DO NOT EDIT! *) (* [from code at "/usr/include/postgresql/libpq-fe.h":252.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 "PQescapeString" in structure F_PQescapeString : sig val typ : (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr T.typ val fptr : unit -> (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr val f : rw uchar_obj ptr * ro uchar_obj ptr * MLRep.Unsigned.word -> MLRep.Unsigned.word val f' : rw uchar_obj ptr' * ro uchar_obj ptr' * MLRep.Unsigned.word -> MLRep.Unsigned.word end = struct val typ = FPtrRTTI_14.typ fun fptr () = mk_fptr (FPtrRTTI_14.mkcall, h ()) fun f (x1, x2, x3) = Cvt.ml_uint (call (fptr (), (Light.ptr x1, Light.ptr x2, Cvt.c_uint x3))) fun f' (x1, x2, x3) = Cvt.ml_uint (call (fptr (), (x1, x2, Cvt.c_uint x3))) end end