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.
The reference if the predicate is found,
NULL
otherwise with error code PRED_NOT_FOUND
.
Faster than SP_predicate()
.