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

Export updates from graph state

Safety

This function is unsafe because it dereferences a raw pointer

Arguments

  • graph_state - a pointer to a graph state

Returns

  • GraphUpdates - the pointer to the graph updates

Errors

  • GraphError - if the graph updates cannot be retrieved