Previous: ffi call back, Up: ffi call [Index]
The following is a list of Scheme symbols used to specify native types for both callouts and callbacks. If a type is not available on a platform: the callout and callback generators will raise an error if the associated type specifier is used.
signed-charunsigned-charExact integers in the range for char and unsigned char.
signed-shortunsigned-shortExact integers in the range for short int and unsigned short
int.
signed-intunsigned-intExact integers in the range for int and unsigned int.
signed-longunsigned-longExact integers in the range for long and unsigned long.
signed-long-longunsigned-long-longExact integers in the range for long long and unsigned long
long.
floatdoubleFlonum.
pointercallbackPointer object. The symbol callback can be used to specify a
pointer to a callback, but it is a full synonym of pointer.
int8_tuint8_tExact integers in the range for int8_t and uint8_t.
int16_tuint16_tExact integers in the range for int16_t and uint16_t.
int32_tuint32_tExact integers in the range for int32_t and uint32_t.
int64_tuint64_tExact integers in the range for int64_t and uint64_t.
size_tssize_tExact integers in the range for size_t and ssize_t.
off_tExact integers in the range for off_t.
ptrdiff_tExact integers in the range for ptrdiff_t.