- objc:set-ivars! CLASS IVARSprocedure
Defines in CLASS (an objc:class) the instance variables in IVARS (a list of objc:instance-var records). The offset parameter of the instance variable records is ignored.
Warning: all old instance variables in MyClass will be removed first. Also, we don't check for conflicts with superclass instance variables. This should be remedied in a future release.
Example: (objc:set-ivars! MyClass (list (make-objc:raw-ivar "jimmy" objc:INT 0) (make-objc:raw-ivar "cammy" objc:DBL 0)