next up previous index
Next: Initialising and Shutting Down Up: Summary of C++ Interface Previous: Referring to ECLiPSe terms   Index

Passing Data to and from External Predicates in C++

These two functions are only meaningful inside C++ functions that have been called from ECLiPSe as external predicates.
EC_word EC_arg(int i)

If inside a C++ function called from ECLiPSe, this returns the i'th argument of the call.

int unify(EC_word,EC_word)

Unify the two given pwords. Note that, if attributed variables are involved in the unification, the associated unification handlers as well as subsequent waking will only happen once control is returned to ECLiPSe.

int EC_word::unify(EC_word)

Similar, but a method of EC_word.

int EC_word::schedule_suspensions(int)

Similar to the schedule_suspensions/2 built-in predicate. Waking will only happen once control is returned to ECLiPSe and the wake/0 predicate is invoked.




1999-08-06