Changeset 184 for trunk/thune/win32

Show
Ignore:
Timestamp:
06/12/06 01:58:22 (3 years ago)
Author:
krobillard
Message:

Thune -

Word lookup now uses an ordered binary search.
Renamed ur_setType as ur_initType.
Some error reporting improvements in eval.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/win32/os.c

    r131 r184  
    5151        logic = 1; 
    5252 
    53     ur_setType( tos, UT_LOGIC ); 
     53    ur_initType( tos, UT_LOGIC ); 
    5454    ur_logic(tos) = logic; 
    5555} 
     
    8181            memCpy( str->ptr.c, tmp, len ); 
    8282 
    83             ur_setType( tos, UT_STRING /*UT_FILE*/ ); 
     83            ur_initType( tos, UT_STRING /*UT_FILE*/ ); 
    8484            ur_setSeries( tos, binN, 0 ); 
    8585            return; 
     
    190190    ur_seconds(tos) = tb.time + (tb.millitm * 0.001); 
    191191 
    192     ur_setType( tos, UT_TIME ); 
     192    ur_initType( tos, UT_TIME ); 
    193193} 
    194194 
     
    226226        _findclose( handle ); 
    227227 
    228         ur_setType(res, UT_BLOCK); 
     228        ur_initType(res, UT_BLOCK); 
    229229        ur_setSeries(res, blkN, 0); 
    230230    }