#[no_mangle]
pub unsafe extern "C" fn graph_commit(
    graph_state: *mut GraphState
) -> FFIResult<bool, GraphError>
Expand description

Commit pending actions to a graph state

Safety

This function is unsafe because it dereferences a raw pointer

Arguments

  • graph_state - a pointer to a graph state

Returns

  • void

Errors

  • GraphError - if the actions cannot be applied to the graph state