Create a new ArrowArray struct with a stable C pointer
| 2597 | |
| 2598 | // Create a new ArrowArray struct with a stable C pointer |
| 2599 | struct ArrowArray* AddChild() { |
| 2600 | nested_structs_.emplace_back(); |
| 2601 | struct ArrowArray* result = &nested_structs_.back(); |
| 2602 | memset(result, 0, sizeof(*result)); |
| 2603 | result->release = NoOpArrayRelease; |
| 2604 | return result; |
| 2605 | } |
| 2606 | |
| 2607 | // Create a stable C pointer to the N last structs in nested_structs_ |
| 2608 | struct ArrowArray** NLastChildren(int64_t n_children, struct ArrowArray* parent) { |
no test coverage detected