| 85 | } |
| 86 | |
| 87 | static void |
| 88 | garrow_executor_class_init(GArrowExecutorClass *klass) |
| 89 | { |
| 90 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 91 | |
| 92 | gobject_class->finalize = garrow_executor_finalize; |
| 93 | gobject_class->set_property = garrow_executor_set_property; |
| 94 | |
| 95 | GParamSpec *spec; |
| 96 | spec = g_param_spec_pointer( |
| 97 | "executor", |
| 98 | "Executor", |
| 99 | "The raw std::shared_ptr<arrow::internal::Executor> *", |
| 100 | static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); |
| 101 | g_object_class_install_property(gobject_class, PROP_EXECUTOR, spec); |
| 102 | } |
| 103 | |
| 104 | G_DEFINE_TYPE(GArrowThreadPool, garrow_thread_pool, GARROW_TYPE_EXECUTOR) |
| 105 |
nothing calls this directly
no outgoing calls
no test coverage detected