Skip to main content

parse_paf_spec

Function parse_paf_spec 

Source
#[unsafe(no_mangle)]
pub extern "C" fn parse_paf_spec( spec: *const c_char, user_data: *mut c_void, callback: Option<extern "C" fn(*mut c_void, *const c_char, u64)>, )
Expand description

Parse PAF spec string, calling callback for each (filename, weight) pair Callback signature: void callback(void* user_data, const char* filename, uint64_t weight)