next up previous contents index
Next: Testing Prolog terms Up: Calling C from Prolog Previous: Term representation   Contents   Index

Fetching arguments of Prolog calls

Every C function that defines a Prolog predicate should not take any argument. The macro ARG(i,arity) is used to get the arguments passed from a Prolog call:



Neng-Fa Zhou
1999-11-24