Changeset 510 for trunk/thune/net.c

Show
Ignore:
Timestamp:
02/10/08 23:53:46 (9 months ago)
Author:
krobillard
Message:

'loop is now an opcode and can act as loop.to for integers.
File port! read now handles optional limit.
console.out now handles binary!.
Can now 'make an int! from first 4 bytes of a binary!
Added ur_initDecimal macro.
Added 'fcalc.
Removed word inc/dec.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/net.c

    r471 r510  
    326326 
    327327// (port buf -- port buf) 
    328 UR_CALL( _netRead ) 
     328void _netRead( UThread* ut, UCell* tos, int part ) 
    329329{ 
    330330    UBinary* bin; 
     
    333333    UCell* val; 
    334334    UCell* pc = ur_s_prev(tos); 
     335 
     336    (void) part; 
    335337 
    336338    blk = ur_blockPtr( pc->port.valBlk );