#[no_mangle]
pub unsafe extern "C" fn get_graph_config(
    environment: *const Environment
) -> FFIResult<Config, GraphError>
Expand description

Get the graph config for the given environment

Safety

This function is unsafe because it dereferences a raw pointer

Arguments

  • environment - a pointer to an environment

Returns

  • Config - the graph config

Errors

  • GraphError - if the graph config cannot be retrieved