Differences From Artifact [865b93afd9]:
- File src/stream.h — part of check-in [e21a39f7dc] at 2012-09-29 22:10:17 on branch trunk — Add stream. (user: js, size: 1975) [annotate] [blame] [check-ins using]
To Artifact [80dfac9647]:
- File src/stream.h — part of check-in [2121a00059] at 2012-09-29 22:41:59 on branch trunk — Add cfw_stream_write_string(). (user: js, size: 2032) [annotate] [blame] [check-ins using]
︙ | |||
43 44 45 46 47 48 49 50 51 52 | 43 44 45 46 47 48 49 50 51 52 53 | + | CFWObject obj; struct cfw_stream_ops *ops; } CFWStream; extern CFWClass *cfw_stream; extern ssize_t cfw_stream_read(void*, void*, size_t); extern bool cfw_stream_write(void*, const void*, size_t); extern bool cfw_stream_write_string(void*, const char*); extern bool cfw_stream_eof(void*); extern void cfw_stream_close(void*); #endif |