LispWorks Foreign Language Interface User Guide and Reference Manual > 6 Type Reference

NextPrevUpTopContentsIndex

:reference-pass

FLI type descriptor
Summary

Passes an object from Lisp to the foreign language by reference.

Syntax

:reference-pass type &key allow-null

Arguments

type

The type of the object to pass by reference.

allow-null

If non-nil, if the input argument is nil a null pointer is passed instead of a reference to an object containing nil .

Description

The FLI type :reference-pass is equivalent to:

(:reference :lisp-to-foreign-p t
            :foreign-to-lisp-p nil)

See :reference for the details.

See also

:reference
:reference-return


LispWorks Foreign Language Interface User Guide and Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex