| 208 | } |
| 209 | |
| 210 | static void |
| 211 | garrow_input_stream_class_init(GArrowInputStreamClass *klass) |
| 212 | { |
| 213 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 214 | gobject_class->finalize = garrow_input_stream_finalize; |
| 215 | gobject_class->set_property = garrow_input_stream_set_property; |
| 216 | gobject_class->get_property = garrow_input_stream_get_property; |
| 217 | |
| 218 | auto input_stream_class = G_INPUT_STREAM_CLASS(klass); |
| 219 | input_stream_class->read_fn = garrow_input_stream_read; |
| 220 | input_stream_class->skip = garrow_input_stream_skip; |
| 221 | input_stream_class->close_fn = garrow_input_stream_close; |
| 222 | |
| 223 | GParamSpec *spec; |
| 224 | spec = g_param_spec_pointer( |
| 225 | "input-stream", |
| 226 | "Input stream", |
| 227 | "The raw std::shared<arrow::io::InputStream> *", |
| 228 | static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); |
| 229 | g_object_class_install_property(gobject_class, PROP_INPUT_STREAM, spec); |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * garrow_input_stream_advance: |
nothing calls this directly
no outgoing calls
no test coverage detected