[Openmcl-devel] Calling STRETs without SEND
raffaelcavallaro at mac.com
Tue Jun 2 12:49:06 EDT 2009
On Jun 2, 2009, at 12:41 PM, Ron Garret wrote:
> Following an recent admonition that SEND is deprecated, I've been
> converting all my old code to call ObjC methods directly using the #/
> reader macro. However, this doesn't seem to work for STRET calls,
> (ccl::slet ((event-location (#/locationInWindow event)) ...
> gives me:
>> Error: Unrecognized STRET call in (NEXTSTEP-FUNCTIONS:|
> locationInWindow| EVENT)
>> While executing: CCL::SLETIFY, in process Listener(7).
> (ccl::slet ((event-location (send event 'location-In-Window)) ...
> The examples in the manual also use SEND.
> What is the proper way to call STRETs?
I've just been converting these to ordinary let/let*:
(let* ((bounds-rect (#/bounds view) ...
The Clozure folks will let us know if this is inadvisable
raffaelcavallaro at me.com
More information about the Openmcl-devel