support no trace predicates
This commit is contained in:
@@ -2311,6 +2311,9 @@ X_API void PL_register_foreign_in_module(const char *module, const char *name, i
|
||||
} else {
|
||||
UserCPredicate((char *)name,(CPredicate)function,arity,tmod,nflags);
|
||||
}
|
||||
if (flags & PL_FA_NOTRACE) {
|
||||
Yap_SetNoTrace((char *)name, arity, tmod);
|
||||
}
|
||||
}
|
||||
|
||||
X_API void PL_register_extensions(const PL_extension *ptr)
|
||||
|
Reference in New Issue
Block a user