[Openmcl-devel] Calling STRETs without SEND
ron at awun.net
Tue Jun 2 09:41:23 PDT 2009
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, e.g.:
(ccl::slet ((event-location (#/locationInWindow event)) ...
> Error: Unrecognized STRET call in (NEXTSTEP-FUNCTIONS:|
> 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?
More information about the Openmcl-devel