8fb269e5dc69626310c9d8afa2cd6fef4d97a288
[hcoop/smlsql.git] / libpq / FFI / f-lo_import.sml
1 (* This file has been generated automatically. DO NOT EDIT! *)
2 (* [from code at "/usr/include/postgresql/libpq-fe.h":363.1-57] *)
3 (* [by Matthias Blume's ml-nlffigen (version 0.9) for x86-unix] *)
4 (* Send comments and suggestions to blume@research.bell-labs.com. Thanks! *)
5 local
6 open C.Dim C_Int
7 val h = LibpqH.libh "lo_import"
8 in
9 structure F_lo_import : sig
10 val typ :
11 ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> uint) fptr T.typ
12 val fptr :
13 unit ->
14 ((ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' -> uint) fptr
15 val f :
16 (ST_pg_conn.tag, rw) su_obj ptr * ro uchar_obj ptr ->
17 MLRep.Unsigned.word
18 val f' :
19 (ST_pg_conn.tag, rw) su_obj ptr' * ro uchar_obj ptr' ->
20 MLRep.Unsigned.word
21 end = struct
22 val typ = FPtrRTTI_45.typ
23 fun fptr () = mk_fptr (FPtrRTTI_45.mkcall, h ())
24 fun f (x1, x2)
25 = Cvt.ml_uint (call (fptr (), (Light.ptr x1, Light.ptr x2)))
26 fun f' (x1, x2) = Cvt.ml_uint (call (fptr (), (x1, x2)))
27 end
28 end