




 
define-objc-struct ( name option* ) slot*
option ::= (:foreign-name foreign-name )
A symbol naming the foreign structure type.
A string giving the foreign structure name.
A symbol naming a foreign structure type alias.
A symbol naming the foreign slot.
An FLI type descriptor for the foreign slot.
The macro 
define-objc-struct
 defines a foreign structure type called 
(:struct 
name
)
 with the given 
slot
s. In addition, the type becomes an Objective-C type that can be used with invoke-into and define-objc-method or define-objc-class-method.
The foreign-name must be specified to allow the Objective-C runtime system to identify the type.
If 
typedef-name
 is specified,it allows that symbol to be used in place of 
(:struct 
name
)
 when using the type in a define-objc-method or define-objc-class-method form.