| 190 | } |
| 191 | |
| 192 | static gboolean |
| 193 | garrow_input_stream_close(GInputStream *stream, GCancellable *cancellable, GError **error) |
| 194 | { |
| 195 | if (g_cancellable_set_error_if_cancelled(cancellable, error)) { |
| 196 | return FALSE; |
| 197 | } |
| 198 | auto arrow_input_stream = garrow_input_stream_get_raw(GARROW_INPUT_STREAM(stream)); |
| 199 | auto status = arrow_input_stream->Close(); |
| 200 | return garrow_error_check(error, status, "[input-stream][close]"); |
| 201 | } |
| 202 | |
| 203 | static void |
| 204 | garrow_input_stream_init(GArrowInputStream *object) |
nothing calls this directly
no test coverage detected