wamr_sys

Function wasm_runtime_get_file_package_version

Source
pub unsafe extern "C" fn wasm_runtime_get_file_package_version(
    buf: *const u8,
    size: u32,
) -> u32
Expand description

Get the package version of a buffer.

@param buf the package buffer @param size the package buffer size

@return the package version, return zero if the version is unknown