Evaluates forms in the scope of a temporary autorelease pool.
There are currently no options.
The values returned by the last
creates a new autorelease pool and evaluates each
in sequence. The pool is released at the end, even if a non-local exit is performed by the
s. An autorelease pool is provided automatically for the main thread when running CAPI with Cocoa, but other threads need to allocate one if they call Objective-C methods that use autorelease.
method returns an autoreleased NSString, so to make this function safe for use anywhere, the
macro is used:
(defun object-description (object)
(invoke-into 'string object "description")))
LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual - 29 Feb 2008