[Openmcl-devel] Calling Obj-C methods defined in OpenMCL via the bridge?
pbpublist at comcast.net
Sat Mar 10 06:08:52 UTC 2007
On Mar 10, 2007, at 12:44 AM, Gary Byers wrote:
> Methods defined via DEFINE-OBJC-METHOD should be callable (via SEND)
> from lisp code.
> This is not unlike:
> (defcallback add-ints (:int x :int y :int)
> (+ x y))
> (ff-call add-ints :int 2 :int 2 :int)
> which (a) an awkward way to add a couple of integers together and
> (b) unlike the DEFINE-OBJC-METHOD case in the the latter case
> involves some dispatching on the type of the receiver.
> (I have a feeling that I'm missing something obvious in that response,
> but can't guess what it might be.)
Thanks and you are correct. I've been staring at the screen for too
long and misunderstood the error message I was getting.
More information about the Openmcl-devel