Next: Foreign Code Hooks
Up: The Foreign Include
Previous: Querying Prolog
- int
- PL_register_foreign( name, arity, function, flags)
Register a C-function to implement a Prolog predicate. After this call
returns successfully a predicate with name name (a char *) and
arity arity (a C int) is created. When called in Prolog, Prolog
will call function. flags forms bitwise or'ed list of
options for the installation. These are:

Passani Luca
Tue Nov 14 08:58:33 MET 1995