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

:reference-return FLI Type Descriptor

Summary

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

Package

keyword

Syntax

:reference-return type &key allow-null

Arguments
type
The type of the object to return by reference.
allow-null
A boolean.
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 of how type and allow-null are used.

See also

:reference
:reference-pass


Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:59