| 1762 | } |
| 1763 | |
| 1764 | static void |
| 1765 | garrow_csv_reader_set_property(GObject *object, |
| 1766 | guint prop_id, |
| 1767 | const GValue *value, |
| 1768 | GParamSpec *pspec) |
| 1769 | { |
| 1770 | auto priv = GARROW_CSV_READER_GET_PRIVATE(object); |
| 1771 | |
| 1772 | switch (prop_id) { |
| 1773 | case PROP_CSV_TABLE_READER: |
| 1774 | priv->reader = *static_cast<std::shared_ptr<arrow::csv::TableReader> *>( |
| 1775 | g_value_get_pointer(value)); |
| 1776 | break; |
| 1777 | case PROP_CSV_READER_INPUT: |
| 1778 | priv->input = GARROW_INPUT_STREAM(g_value_dup_object(value)); |
| 1779 | break; |
| 1780 | default: |
| 1781 | G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); |
| 1782 | break; |
| 1783 | } |
| 1784 | } |
| 1785 | |
| 1786 | static void |
| 1787 | garrow_csv_reader_get_property(GObject *object, |
nothing calls this directly
no outgoing calls
no test coverage detected