Re: [polyml] FFI conversions for larger C types

2012-08-10 Thread David Matthews
On 08/08/2012 22:51, Phil Clayton wrote: My bindings for GLib/GTK+ etc. involve some functions with 64 bit parameter/return values, using the C types gint64/guint64 - GLib's portable 64 bit integers. On Linux i386, these types are defined using 'signed/unsigned long long int'. I believe the C

[polyml] FFI conversions for larger C types

2012-08-08 Thread Phil Clayton
My bindings for GLib/GTK+ etc. involve some functions with 64 bit parameter/return values, using the C types gint64/guint64 - GLib's portable 64 bit integers. On Linux i386, these types are defined using 'signed/unsigned long long int'. I believe the C library stdint.h defines portable types