#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_flow_scope_stack_create(
out: *mut *mut FfiScopeStack,
) -> NemoFlowStatusExpand description
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_flow_scope_stack_set_thread to bind a stack to the current thread
before making other NeMo Flow API calls.
§Parameters
out: On success, receives a heap-allocatedFfiScopeStackthat must be freed withnemo_flow_scope_stack_free.
§Returns
- Returns
NemoFlowStatus::Okon success and writes the new scope stack toout. - Returns
NemoFlowStatus::NullPointerwhenoutis null.
§Safety
out must be a valid, non-null pointer.