#[no_mangle]
pub unsafe extern "C" fn graph_force_recalculate_updates(
    graph_state: *mut GraphState,
    user_id: *const DsnpUserId
) -> FFIResult<GraphUpdates, GraphError>
Expand description

Force recalculate graph updates from graph state

Safety

This function is unsafe because it dereferences a raw pointer

Arguments

  • graph_state - a pointer to the graph state
  • user_id - a pointer to a user id

Returns

  • GraphUpdates - the pointer to the graph updates

Errors

  • GraphError - if the graph updates cannot be retrieved