Skip to main content

igvm_header_count

Function igvm_header_count 

Source
#[unsafe(no_mangle)]
pub extern "C" fn igvm_header_count( handle: i32, section: IgvmHeaderSection, ) -> i32
Available on crate feature igvm-c only.
Expand description

Get the count of headers for a particular section in a previously parsed IGVM file.

If any error occurs then the returned value will be less than zero and will match one of the IGVMAPI error codes.