Changeset 274 for trunk/thune/files.c

Show
Ignore:
Timestamp:
09/11/06 16:04:02 (2 years ago)
Author:
krobillard
Message:

Thune - Added UDS sub-project.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/files.c

    r265 r274  
    9393            dev->close( ur_thread, tos );   // Device close must drop TOS. 
    9494    } 
    95 } 
    96  
    97  
    98 /** 
    99   \return Pointer to C character string or zero if cell is not UT_STRING. 
    100 */ 
    101 const char* ur_cstring( UCell* cell ) 
    102 { 
    103     if( ur_is(cell, UT_STRING) ) 
    104     { 
    105         UString* str = ur_bin(cell); 
    106         ur_termCStr( str ); 
    107         return str->ptr.c + cell->series.it; 
    108     } 
    109     return 0; 
    11095} 
    11196