Next Prev Up Top Contents Index

pointer-element-size

Function
Summary

Returns the size in bytes of the foreign object pointed to by an FLI pointer.

Package

fli

Signature

pointer-element-size pointer => size

Arguments

pointer

An FLI pointer to a foreign object.

Values

size

The size of the object pointed to by pointer .

Description

The function pointer-element-size returns the size, in bytes, of the object pointed to by pointer .

Example

In the following example a pointer to an integer is created. Then the size in bytes of the integer is returned using pointer-element-size .

(setq point (fli:allocate-foreign-object :type :int)) (fli:pointer-element-size point)
See Also

pointer-element-type

size-of


LispWorks Foreign Language Interface User Guide and Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index