Macro
typedef command. fli
define-c-typedef name type-description => name
The name of the new FLI type.
A symbol or list defining the new type.
The name of the new FLI type.
define-c-typedef macro is used to define FLI type specifiers, which corresponds to those defined using the C functiontypedef. It is a convenience function, as types can also be defined usingdefine-foreign-type. define-c-typedef, and the corresponding C definitions are then given. (fli:define-c-typedef intptr (:pointer :int)) (fli:define-c-typedef bar (:struct (one :int)))
typedef definitions: typedef int *intptr; typedef struct (int one;) bar;