diff options
author | Juerg Billeter <j@bitron.ch> | 2007-11-27 13:44:48 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-11-27 13:44:48 +0000 |
commit | 6d071b4ab6d60aecf9532d1aac2128dd0c08f917 (patch) | |
tree | 4802baacdbc107a2d16d560757e6c59ff8814d57 /gio/gcancellable.c | |
parent | 2490a699be480e519b4ecfd8e6e5c3995d1ec384 (diff) |
New functions for efficient access to buffer and simple single byte reads.
2007-11-27 Juerg Billeter <j@bitron.ch>
* gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
(g_buffered_input_stream_read_byte):
* gbufferedinputstream.h:
New functions for efficient access to buffer and simple single byte
reads.
* gdatainputstream.c: (scan_for_newline), (scan_for_chars),
(g_data_input_stream_read_until):
* gdatainputstream.h:
Use peek_buffer to avoid memcpy in scan_for_newline, implement
read_until with multiple stop chars.
svn path=/trunk/; revision=5952
Diffstat (limited to 'gio/gcancellable.c')
0 files changed, 0 insertions, 0 deletions