Skip to main content

amem_graph_save

Function amem_graph_save 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn amem_graph_save( graph: *mut c_void, path: *const c_char, ) -> i32
Expand description

Save a graph to an .amem file. Returns AMEM_OK or error code.

ยง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.