[Next] [Up] [Previous] [Contents] [Index]
Next: Manipulating and writing Prolog Up: Calling C from Prolog Previous: Testing Prolog terms   Contents   Index

Converting Prolog terms into C

The following functions convert Prolog terms to C. If a Prolog term is not of the expected type, then the global C variable exception is set. A C program that uses these functions must check whether exception is set to see whether data are converted correctly. The converted data are correct only when exception is NULL.


[Next] [Up] [Previous] [Contents] [Index]
Next: Manipulating and writing Prolog Up: Calling C from Prolog Previous: Testing Prolog terms   Contents   Index
Neng-Fa Zhou () 2007-06-05