Fixing for 110.46
[hcoop/smlsql.git] / libpq / FFI / f-PQescapeString.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":252.1-72] *)
790a48a1
AC
3(* [by Matthias Blume's ml-nlffigen (version 0.9.1) for x86-unix] *)
4(* Send comments and suggestions to blume@tti-c.org. Thanks! *)
f147efc8
AC
5local
6 open C.Dim C_Int
7 val h = LibpqH.libh "PQescapeString"
8in
9structure F_PQescapeString : sig
10 val typ :
11 (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr T.typ
12 val fptr :
13 unit ->
14 (rw uchar_obj ptr' * ro uchar_obj ptr' * uint -> uint) fptr
15 val f :
16 rw uchar_obj ptr * ro uchar_obj ptr * MLRep.Unsigned.word ->
17 MLRep.Unsigned.word
18 val f' :
19 rw uchar_obj ptr' * ro uchar_obj ptr' * MLRep.Unsigned.word ->
20 MLRep.Unsigned.word
21end = struct
22 val typ = FPtrRTTI_14.typ
23 fun fptr () = mk_fptr (FPtrRTTI_14.mkcall, h ())
24 fun f (x1, x2, x3)
25 = Cvt.ml_uint
26 (call
27 (fptr (), (Light.ptr x1, Light.ptr x2, Cvt.c_uint x3)))
28 fun f' (x1, x2, x3)
29 = Cvt.ml_uint (call (fptr (), (x1, x2, Cvt.c_uint x3)))
30end
31end