chickadee » objc » objc:wrap

objc:wrap Xprocedure
objc:unwrap Xprocedure

Wrap or unwrap the Scheme object X inside an Objective C instance (specifically, a Scheme_Object_Wrapper) so that it can be passed as an id type. Essentially, these functions allow you to tunnel a Scheme object through the Objective C bridge, when both endpoints are written in Scheme. At the moment, the resulting object cannot be accessed meaningfully from the Objective C side.

These functions are also used to implement the #:wrapper type qualifier for instance variables.