Changeset 527 for trunk/thune/eval.c

Show
Ignore:
Timestamp:
05/26/08 17:22:18 (6 months ago)
Author:
krobillard
Message:

Added thune-gl widget! datatype.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/eval.c

    r516 r527  
    352352 
    353353 
    354 static void _appendTraceBlk( UThread* ut, UCellError* err, int n, int it ) 
     354void ur_appendTraceT( UThread* ut, UCellError* err, UIndex blkN, UIndex it ) 
    355355{ 
    356356    if( err->traceBlk ) 
     
    361361        blk = ur_blockPtr( err->traceBlk ); 
    362362        cell = ur_appendCell( blk, UT_BLOCK ); 
    363         ur_setSeries( cell, n, it ); 
     363        ur_setSeries( cell, blkN, it ); 
    364364    } 
    365365} 
     
    504504 
    505505 
     506/** 
     507  Evaluate C string. 
     508 
     509  \param cmd  String to evaluate. 
     510  \param len  Length of cmd string.  May be -1 if cmd is null terminated. 
     511 
     512  \return UR_EVAL_ code. 
     513*/ 
    506514int ur_evalCStr( UThread* ut, const char* cmd, int len ) 
    507515{ 
     
    16171625        res->func.closureN  = 0; 
    16181626        res->func.sigN      = sigN; 
    1619     } 
    1620     UR_S_DROP; 
     1627 
     1628        UR_S_DROP; 
     1629    } 
     1630    else 
     1631    { 
     1632        ur_throwErr( UR_ERR_DATATYPE, "func expected two block! values" ); 
     1633    } 
    16211634} 
    16221635