4.1.2 Creating foreign structure types

4.1.2.6 Miscellaneous information

The following constructs manipulate or provide information about foreign pointers, foreign types, and foreign variables in the Foreign Function Interface:

copy-foreign-pointer 
defined-foreign-type-p 
foreign-pointer-address 
foreign-pointer-p 
foreign-pointer-type 
foreign-size-of 
foreign-typep
foreign-type-size
foreign-variable-address
foreign-variable-p
foreign-variable-pointer
stationary-object-p
writable-object-p
The functioncopy-foreign-pointer creates a foreign pointer object of the same type as its argument and that points to a copy of the storage pointed at by the argument.

The functiondefined-foreign-type-p determines whether its argument specifies a currently defined foreign type.

The functionsforeign-pointer-address and foreign-pointer-type return the integer starting address and the type of a foreign pointer respectively.

The functionforeign-size-of returns the size of a foreign type or of the storage pointed at by a foreign pointer.

The function foreign-type-size returns the unit size of a foreign type.

The functionsforeign-variable-address andforeign-variable-pointer return the integer starting address and the foreign pointer respectively of active global foreign variables.

The predicatesforeign-pointer-p,foreign-typep, andforeign-variable-p identify foreign pointers, types, and variables respectively.

The predicatesstationary-object-p and writable-object-p determine whether an object is stationary or writable respectively.


The Advanced User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker