[Openmcl-devel] How to make lisp slots in an objc class
beque at telia.com
Sat Mar 13 11:55:25 EST 2004
From the documentation of the cooca bridge I got the impression that
you can create objc classes that contains lisp slots. How are you
supposed to do that?
This is what I have tried:
(defclass test-class (ns:ns-object)
((test-slot :accessor test-slot))
This is what I get when trying to evaluate that expression in the REPL:
> Error in process listener(1): No applicable method for args:
> (#<OBJC:OBJC-CLASS TEST-CLASS
(#x431910)> #<#<error printing STANDARD-READER-METHOD #x50ACD16>
#<STANDARD-DIRECT-SLOT-DEFINITION for instance slot TEST-SLOT
> to #<STANDARD-GENERIC-FUNCTION
> While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD
> Type :POP to abort.
Type :? for other options.
More information about the Openmcl-devel