Next: cpg-ref-SP_get_arg, Previous: cpg-ref-SP_free, Up: cpg-bif [Contents][Index]
SP_get_address()
#include <sicstus/sicstus.h> int SP_get_address(SP_term_ref term, void **p);
Assigns to *p
the pointer that corresponds
to a Prolog integer
The SP_term_ref holding the value
The location to assign
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.