fix wide atom handling.

This commit is contained in:
Vitor Santos Costa
2011-08-12 11:52:47 -03:00
parent d70e53f243
commit 23be6ccdfc
3 changed files with 86 additions and 3 deletions

View File

@@ -148,6 +148,9 @@ extern term_t Yap_CvtTerm(term_t ts);
#define clearNumber(n)
wchar_t *nameOfWideAtom(atom_t atom);
int isWideAtom(atom_t atom);
inline static int
charCode(Term w)
{ if ( IsAtomTerm(w) )