All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 8 Type Reference

NextPrevUpTopContentsIndex

:reference-return

FLI type descriptor
Summary

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

Syntax

:reference-return type &key allow-null

Arguments

type

The type of the object to return 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-return is equivalent to:

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

See :reference for the details.

See also

:reference
:reference-pass


LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017

NextPrevUpTopContentsIndex