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

NextPrevUpTopContentsIndex

pointer-address

Function
Summary

Returns the address of a pointer.

Package

fli

Signature

pointer-address pointer => address

Arguments

pointer

A FLI pointer.

Values

address

The address pointed to by pointer .

Description

The function pointer-address returns the address of a pointer.

Example

In the following example a pointer is defined, and its address is returned using pointer-address .

(setq point (fli:allocate-foreign-object :type :int)) (fli:pointer-address point)
See also

null-pointer-p
pointer-eq


LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011

NextPrevUpTopContentsIndex