All Manuals > Foreign Language Interface User Guide and Reference Manual > 7 Function, Macro and Variable Reference

define-foreign-forward-reference-type Macro

Summary

Defines a FLI type specifier if it is not already defined.

Package

fli

Signature

define-foreign-forward-reference-type type-name lambda-list &body forms => type-name

Arguments
type-name
A symbol naming the new FLI type.
lambda-list
A lambda list which is the argument list of the new FLI type.
forms
One or more Lisp forms which provide a definition of the new type.
Values
type-name
The name of the FLI type.
Description

The macro define-foreign-forward-reference-type defines a new FLI type called type-name, unless type-name is already defined. This macro is useful when a type declaration is needed but the full definition is not yet available.

lambda-list and forms are used as in define-foreign-type.

See also

define-foreign-type
define-opaque-pointer


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