Next: cpg-ref-SP_predicate, Previous: cpg-ref-SP_open_query, Up: cpg-bif [Contents][Index]
SP_pred()#include <sicstus/sicstus.h> SP_pred_ref SP_pred(SP_atom name_atom, SP_integer arity, SP_atom module_atom);
Returns a pointer to the predicate definition.
Predicate name.
Arity.
Module name.
The reference if the predicate is found,
NULL otherwise with error code PRED_NOT_FOUND.
Faster than SP_predicate().