Skip to main content

LegacyRuntimeActionFn

Type Alias LegacyRuntimeActionFn 

Source
pub type LegacyRuntimeActionFn = extern "C" fn(action_id: u32, args_json: StbStringRef, out: *mut StbString, user_data: *mut c_void) -> i32;
Expand description

ABI v1 runtime-action signature. The original SDK exposed a #[repr(u32)] enum at this position; the legacy host view uses the ABI-equivalent raw integer so it can reject unknown values before constructing an enum.