#[unsafe(no_mangle)]pub unsafe extern "C" fn acb_graph_get_edges(
graph: *mut c_void,
unit_id: u64,
target_ids: *mut u64,
edge_types: *mut u8,
weights: *mut f32,
max_edges: u32,
) -> i32Expand description
Get outgoing edges from a unit. Returns edge count or error code.
ยงSafety
graph must be a valid handle. target_ids, edge_types, and weights
must each point to at least max_edges elements of writable memory.