Function
paimon_read_builder_free
(rb: *mut paimon_read_builder)
Source from the content-addressed store, hash-verified
| 100 | /// Only call with a read_builder returned from `paimon_table_new_read_builder`. |
| 101 | #[no_mangle] |
| 102 | pub unsafe extern "C" fn paimon_read_builder_free(rb: *mut paimon_read_builder) { |
| 103 | if !rb.is_null() { |
| 104 | let wrapper = Box::from_raw(rb); |
| 105 | if !wrapper.inner.is_null() { |
| 106 | drop(Box::from_raw(wrapper.inner as *mut ReadBuilderState)); |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | /// Set column projection for a ReadBuilder. |
| 112 | /// |
Callers
nothing calls this directly
Tested by
no test coverage detected