42adf931b0000f66dfe38540c4c278d150376512
[hcoop/smlsql.git] / libpq / FFI / f-PQoidValue.sml
1 (* This file has been generated automatically. DO NOT EDIT! *)
2 (* [from code at "/usr/include/postgresql/libpq-fe.h":309.1-43] *)
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! *)
5 local
6 open C.Dim C_Int
7 val h = LibpqH.libh "PQoidValue"
8 in
9 structure F_PQoidValue : sig
10 val typ : ((ST_pg_result.tag, ro) su_obj ptr' -> uint) fptr T.typ
11 val fptr : unit -> ((ST_pg_result.tag, ro) su_obj ptr' -> uint) fptr
12 val f : (ST_pg_result.tag, ro) su_obj ptr -> MLRep.Unsigned.word
13 val f' : (ST_pg_result.tag, ro) su_obj ptr' -> MLRep.Unsigned.word
14 end = struct
15 val typ = FPtrRTTI_31.typ
16 fun fptr () = mk_fptr (FPtrRTTI_31.mkcall, h ())
17 fun f x1 = Cvt.ml_uint (call (fptr (), Light.ptr x1))
18 fun f' x1 = Cvt.ml_uint (call (fptr (), x1))
19 end
20 end