[Openmcl-devel] Sending Variable-Arity Cocoa Messages
Gary Byers
gb at clozure.com
Sun Apr 17 14:43:54 PDT 2005
On Sun, 17 Apr 2005, Randall Beer wrote:
> I checked a fix for this into the bleeding edge CVS branch. There was
> a problem with the way some variable arity message sends were being
> parsed. Now something like the following works:
>
> ? (send (find-class 'ns:ns-array) :array-with-objects (:id #@"Hello"
> :id #@"There" :id (%null-ptr)))
>
> #<NS-CF-ARRAY (Hello, There) (#x85414550)>
>
> If you want to try this in your current OpenMCL version, just copy the
> new definitions of %PARSE-MESSAGE and CHECK-MESSAGE-ARG-COUNT from the
> bleeding edge ccl/examples/bridge.lisp to your local copy.
>
> Randy
>
I'll check this into the main branch soon. Thanks.
More information about the Openmcl-devel
mailing list