Fetching arguments of Prolog calls

C functions that define a Prolog predicate should not take any argument. The function bp_get_call_arg(i,arity) is used in order to get the arguments in the current Prolog call:



Neng-Fa Zhou 2013-01-25