Build scripts & automatic generation of FFI files
[hcoop/smlsql.git] / libpq / FFI / f-PQmblen.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":369.1-57] *)
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 "PQmblen"
8in
9structure F_PQmblen : sig
10 val typ : (ro uchar_obj ptr' * sint -> sint) fptr T.typ
11 val fptr : unit -> (ro uchar_obj ptr' * sint -> sint) fptr
12 val f : ro uchar_obj ptr * MLRep.Signed.int -> MLRep.Signed.int
13 val f' : ro uchar_obj ptr' * MLRep.Signed.int -> MLRep.Signed.int
14end = struct
15 val typ = FPtrRTTI_28.typ
16 fun fptr () = mk_fptr (FPtrRTTI_28.mkcall, h ())
17 fun f (x1, x2)
18 = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Cvt.c_sint x2)))
19 fun f' (x1, x2) = Cvt.ml_sint (call (fptr (), (x1, Cvt.c_sint x2)))
20end
21end