Skip to main content

amem_graph_get_content

Function amem_graph_get_content 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn amem_graph_get_content( graph: *mut c_void, node_id: u64, buffer: *mut c_char, buffer_size: u32, ) -> i32
Expand description

Get a node’s content. Writes to buffer. Returns content length or error.

§Safety

The caller must ensure that all pointer arguments are valid and non-null (unless the function explicitly handles null pointers), and that any pointed-to data is valid for the expected type and lifetime.