Top | ![]() |
![]() |
![]() |
![]() |
void ide_line_reader_init (IdeLineReader *reader
,gchar *contents
,gssize length
);
gchar * ide_line_reader_next (IdeLineReader *reader
,gsize *length
);
Moves forward to the beginning of the next line in the buffer. No changes to the buffer
are made, and the result is a pointer within the string passed as contents
in
ide_line_reader_init()
. Since the line most likely will not be terminated with a NULL byte,
you must provide length
to determine the length of the line.