Previous: The c-data form, Up: Basic C Types and Functions [Contents][Index]
Return non-nil
if type is a basic FFI type.
A type is said to be basic, if it is neither a pointer nor a function, and there is a corresponding built-in type in C.
Return non-nil
if type is a valid FFI type.
If optional argument signal-p is non-nil
and type
is not an FFI type, additionally signal an error.
ffi-type-p
]Function to call when the validity of an FFI type shall be checked.
Alist of named FFI types with elements of the form
(NAME . FFI-TYPE)
.
Return the size of the foreign type type.
Valid foreign types are: ‘byte’, ‘unsigned-byte’, ‘char’, ‘unsigned-char’, ‘short’, ‘unsigned-short’, ‘int’, ‘unsigned-int’, ‘long’, ‘unsigned-long’, ‘pointer-void’, ‘float’, ‘double’, ‘object’, and ‘c-string’.
Return FFI type type in a canonical form.
Set the size of the allocated space of fo to size.