Function nemo_relay_scope_stack_create

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_scope_stack_create(
    out: *mut *mut FfiScopeStack,
) -> NemoRelayStatus

Create a new isolated scope stack with its own root scope.

Each scope stack is independent: scopes pushed on one do not appear on another. Use nemo_relay_scope_stack_set_thread to bind a stack to the current thread before making other NeMo Relay API calls.

Parameters

  • out: On success, receives a heap-allocated FfiScopeStack that must be freed with nemo_relay_scope_stack_free.

Returns

Safety

out must be a valid, non-null pointer.