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

:reference-pass FLI Type Descriptor

Summary

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

Package

keyword

Syntax

:reference-pass type &key allow-null

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

See also

:reference
:reference-return


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