Changeset 157 for trunk/thune/internal.h

Show
Ignore:
Timestamp:
05/25/06 15:20:35 (3 years ago)
Author:
krobillard
Message:

Thune - Words can now be created as unbound. Start of support for non-ascii
string encodings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/internal.h

    r152 r157  
    1717    elem = ((type*) (arr->ptr.v)) + arr->used; \ 
    1818    ++arr->used 
     19 
     20#define ur_setUnbound(cell,atm) \ 
     21    cell->word.wordBlk = 0; \ 
     22    cell->word.valBlk  = GLOBAL_VAL_BLKN; \ 
     23    cell->word.index   = UR_UNBOUND; \ 
     24    cell->word.atom    = atm 
    1925 
    2026