Skip to main content

amem_graph_traverse

Function amem_graph_traverse 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn amem_graph_traverse( graph: *mut c_void, start_id: u64, edge_types_ptr: *const u8, edge_type_count: u32, direction: u8, max_depth: u32, visited_ids: *mut u64, max_results: u32, ) -> i32
Expand description

Traverse from a start node. Returns visited count.

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