Create a new ArrowArray struct with a stable C pointer
| 2627 | |
| 2628 | // Create a new ArrowArray struct with a stable C pointer |
| 2629 | struct ArrowArray* AddChild() { |
| 2630 | nested_structs_.emplace_back(); |
| 2631 | struct ArrowArray* result = &nested_structs_.back(); |
| 2632 | memset(result, 0, sizeof(*result)); |
| 2633 | result->release = NoOpArrayRelease; |
| 2634 | return result; |
| 2635 | } |
| 2636 | |
| 2637 | // Create a stable C pointer to the N last structs in nested_structs_ |
| 2638 | struct ArrowArray** NLastChildren(int64_t n_children, struct ArrowArray* parent) { |
no test coverage detected