GSF Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#define GSF_INPUT_TEXTLINE_TYPE #define GSF_INPUT_TEXTLINE (o) struct GsfInputTextline; GType gsf_input_textline_get_type (void); GsfInputTextline* gsf_input_textline_new (GsfInput *source); unsigned char* gsf_input_textline_ascii_gets (GsfInputTextline *input); guint8* gsf_input_textline_utf8_gets (GsfInputTextline *input); |
#define GSF_INPUT_TEXTLINE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_TEXTLINE_TYPE, GsfInputTextline)) |
GsfInputTextline* gsf_input_textline_new (GsfInput *source); |
NOTE : adds a reference to source
unsigned char* gsf_input_textline_ascii_gets (GsfInputTextline *input); |
A utility routine to read things line by line from the underlying source. Trailing newlines and carriage returns are stipped, and the resultant buffer can be edited.