Skip to main content

ss_runtime_find_part_index

Function ss_runtime_find_part_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_find_part_index( context: *mut c_void, part_name: *const c_char, ) -> i32
Expand description

Resolve a part name to its part_index in the current primary animation. Returns -1 on null context / null or invalid name / not found.

ยงSafety

part_name must be null or a valid null-terminated string.