Build scripts & automatic generation of FFI files
[hcoop/smlsql.git] / libpq / FFI / fptr-rtti-48.sml
1 (* This file has been generated automatically. DO NOT EDIT! *)
2 (* [by Matthias Blume's ml-nlffigen (version 0.9.1) for x86-unix] *)
3 (* Send comments and suggestions to blume@tti-c.org. Thanks! *)
4 local open C.Dim C_Int in
5 structure FPtrRTTI_48 = struct
6 fun mkcall a (x1, x2, x3, x4)
7 = Cvt.c_sint
8 (CMemory.unwrap_sint
9 (Callop_28.callop
10 (a,
11 (CMemory.wrap_addr (reveal (Ptr.inject' x1)),
12 CMemory.wrap_sint (Cvt.ml_sint x2),
13 CMemory.wrap_addr (reveal (Ptr.inject' x3)),
14 CMemory.wrap_uint (Cvt.ml_uint x4)),
15 nil)))
16 val typ =
17 mk_fptr_typ mkcall :
18 ((ST_pg_conn.tag, rw) su_obj ptr' *
19 sint *
20 rw uchar_obj ptr' *
21 uint -> sint) fptr T.typ
22 end
23 end