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

Function box_table_read_state

bindings/c/src/table.rs:53–56  ·  view source on GitHub ↗

Helper to box a TableReadState and return a raw pointer.

(state: TableReadState)

Source from the content-addressed store, hash-verified

51
52// Helper to box a TableReadState and return a raw pointer.
53unsafe fn box_table_read_state(state: TableReadState) -> *mut paimon_table_read {
54 let inner = Box::into_raw(Box::new(state)) as *mut c_void;
55 Box::into_raw(Box::new(paimon_table_read { inner }))
56}
57
58// ======================= Table ===============================
59

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected