Add apis to get package version (#3601)
Add three APIs: - wasm_runtime_get_file_package_version - wasm_runtime_get_module_package_version - wasm_runtime_get_current_package_version
This commit is contained in:
@ -836,6 +836,9 @@ struct WASMModule {
|
||||
AOTModule structure. */
|
||||
uint32 module_type;
|
||||
|
||||
/* the package version read from the WASM file */
|
||||
uint32 package_version;
|
||||
|
||||
uint32 type_count;
|
||||
uint32 import_count;
|
||||
uint32 function_count;
|
||||
|
||||
Reference in New Issue
Block a user