Package: cffi

Function pointer-address

Lambda List

pointer-address (ptr)

Arguments

ptr -- A foreign pointer.

Return Value

An integer.

Details

The function pointer-address will return the address of a foreign pointer ptr.

Examples

  CFFI> (pointer-address (null-pointer))
  => 0
  CFFI> (pointer-address (make-pointer 123))
  => 123  
 

See also