Show
Ignore:
Timestamp:
08/11/07 04:53:46 (16 months ago)
Author:
krobillard
Message:

Removed slice! datatype - series now have an end.
Added slice test.
ur_makeBinary() now takes pointer argument.
Fixed bug in _makeComponent().
Fixed compiler warnings. Minor optimization to if/.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/eval.c

    r447 r450  
    9090static int ur_itLen( UThread* ut, UCell* cell ) 
    9191{ 
    92     int len = ur_seriesLen( cell ); 
     92    int len = ur_seriesEnd( cell ); 
    9393    if( len > -1 ) 
    9494        len -= cell->series.it; 
     
    704704        case UT_BINARY: 
    705705        case UT_STRING: 
    706         case UT_SLICE: 
    707706        { 
    708707            char *cpA1, *cpA2; 
     
    12131212                } 
    12141213                ur_type(val) = UT_BINARY; 
    1215             } 
    1216             else if( ur_is(val, UT_SLICE) && (ur_sliceDT(val) == UT_STRING) ) 
    1217             { 
    1218                 if( ur_encCharSize(val) == 1 ) 
    1219                     ur_sliceDT(val) = UT_BINARY; 
    12201214            } 
    12211215            else if( ur_is(val, UT_BITSET) )