MCPcopy Create free account
hub / github.com/apache/paimon-rust / paimon_read_builder_free

Function paimon_read_builder_free

bindings/c/src/table.rs:102–109  ·  view source on GitHub ↗
(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]
102pub 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

Calls 1

is_nullMethod · 0.80

Tested by

no test coverage detected