Fixing for 110.46
[hcoop/smlsql.git] / libpq / FFI / f-PQsetClientEncoding.sml
CommitLineData
f147efc8
AC
1(* This file has been generated automatically. DO NOT EDIT! *)
2(* [from code at "/usr/include/postgresql/libpq-fe.h":232.1-67] *)
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 "PQsetClientEncoding"
8in
9structure F_PQsetClientEncoding : sig
10 val typ :
11 ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> sint) fptr T.typ
12 val fptr :
13 unit ->
14 ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> sint) fptr
15 val f :
16 (ST_pg_conn.tag, rw) su_obj ptr * ro uchar_obj ptr ->
17 MLRep.Signed.int
18 val f' :
19 (ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' ->
20 MLRep.Signed.int
21end = struct
22 val typ = FPtrRTTI_34.typ
23 fun fptr () = mk_fptr (FPtrRTTI_34.mkcall, h ())
24 fun f (x1, x2)
25 = Cvt.ml_sint (call (fptr (), (Light.ptr x1, Light.ptr x2)))
26 fun f' (x1, x2) = Cvt.ml_sint (call (fptr (), (x1, x2)))
27end
28end