All Manuals > LispWorks Release Notes and Installation Guide > 13 Release Notes > 13.11 Foreign Language interface changes

NextPrevUpTopContentsIndex

13.11.3 Controlling allocation of foreign objects

A previously undocumented keyword argument to fli:allocate-foreign-object has been changed. The old argument :allocator is deprecated, and :allocation is now supported and documented. This is consistent with other functions which take an :allocation argument.

The value :static causes memory to be allocated in the C heap. It must be explicitly freed once the object is no longer needed. The value :dynamic allocates memory within the scope of the body of fli:with-dynamic-foreign-objects .


LispWorks Release Notes and Installation Guide - 23 Dec 2011

NextPrevUpTopContentsIndex