[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 function bp_get_call_arg(i,arity) is used to get the arguments in the current Prolog call:



Neng-Fa Zhou () 2007-06-05