Changeset 274 for trunk/thune/files.c
- Timestamp:
- 09/11/06 16:04:02 (2 years ago)
- Files:
-
- 1 modified
-
trunk/thune/files.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/files.c
r265 r274 93 93 dev->close( ur_thread, tos ); // Device close must drop TOS. 94 94 } 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;110 95 } 111 96
