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.

Neng-Fa Zhou 2012-01-03