LispWorks Foreign Language Interface User Guide and Reference Manual > 5 Function and Macro Reference

NextPrevUpTopContentsIndex

*null-pointer*

Variable
Summary

A null pointer.

Package

fli

Description

The variable *null-pointer* contains a (:pointer :void) with address 0.

This provides a simple way to pass a null pointer when needed.

Example
(fli:pointer-address fli:*null-pointer*)
=>
0
 
(fli:null-pointer-p fli:*null-pointer*)
=>
T
See also

pointer-address
null-pointer-p
:pointer


LispWorks Foreign Language Interface User Guide and Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex