more cleanups.

This commit is contained in:
Vítor Santos Costa
2011-03-02 23:19:39 +00:00
parent 6f1537475f
commit da1df3d851
17 changed files with 159 additions and 98 deletions

View File

@@ -25,7 +25,31 @@
#define CONST /* empty */
#endif
#ifndef HAS_YAP_H
#ifdef YAP_H
/* if Yap.h is available, just reexport */
typedef CELL YAP_CELL;
typedef Term YAP_Term;
typedef CELL YAP_Arity;
typedef Term YAP_Module;
typedef Functor YAP_Functor;
typedef Atom YAP_Atom;
typedef Int YAP_Int;
typedef UInt YAP_UInt;
typedef Float YAP_Float;
typedef int YAP_Bool;
#else
/* Type definitions */