Top |
GInputStream * | xb_builder_source_ctx_get_stream () |
const gchar * | xb_builder_source_ctx_get_filename () |
GBytes * | xb_builder_source_ctx_get_bytes () |
#define | XB_TYPE_BUILDER_SOURCE_CTX |
struct | XbBuilderSourceCtxClass |
XbBuilderSourceCtx |
GInputStream *
xb_builder_source_ctx_get_stream (XbBuilderSourceCtx *self
);
Returns the input stream currently being processed.
Since: 0.1.7
const gchar *
xb_builder_source_ctx_get_filename (XbBuilderSourceCtx *self
);
Returns the basename of the file currently being processed.
Since: 0.1.7
GBytes * xb_builder_source_ctx_get_bytes (XbBuilderSourceCtx *self
,GCancellable *cancellable
,GError **error
);
Returns the data currently being processed.
If the XbBuilderSourceCtx is backed by a file, the returned GBytes may be memory-mapped, and the backing file must not be modified until the GBytes is destroyed.
Since: 0.1.7