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

:pointer

:ptr FLI Type Descriptors

Summary

Defines a C-style FLI pointer to an object of a specified type.

Package

keyword

Syntax

:pointer type

:ptr type

Arguments
type
The type of FLI object pointed to by the pointer.
Description

The FLI type :pointer is part of the FLI implementation of pointers. It defines a C-style pointer to an object of type. Passing nil instead of a pointer is treated the same as passing a null pointer (that is, a pointer to address 0).

:ptr is a synonym for :pointer.

For more details on pointers, including examples on pointer coercion, dereferencing, making, and copying see 3 FLI Pointers.

See also

copy-pointer
dereference
make-pointer
*null-pointer*
2.1.6 Pointer types


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