#[no_mangle]
pub extern "C" fn sg_path_arena_add_path_edge_lists(
    paths: *mut sg_path_arena,
    count: usize,
    edges: *const sg_path_edge,
    lengths: *const usize,
    out: *mut sg_path_edge_list
)
Expand description

Adds new path edge lists to the path arena. count is the number of path edge lists you want to create. The content of each path edge list comes from two arrays. The lengths array must have count elements, and provides the number of edges in each path edge list. The edges array contains the contents of each of these path edge lists in one contiguous array. Its length must be the sum of all of the counts in the lengths array.

You must also provide an out array, which must also have room for count elements. We will fill this array in with the sg_path_edge_list instances for each path edge list that is created.