From e07b58062f101a85326c113c5bd783b220d31606 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 11 Sep 2021 12:53:27 +0200 Subject: [PATCH] Change arg name 'export' to other to fix keyword conflict in C++11 (#745) Some of the function arguments were named as "export" in core/iwasm/common/wasm_runtime_common.h, which result in conflicts with the C++11 keyword. Change them to other to fix the compilation error. --- core/iwasm/common/wasm_runtime_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/iwasm/common/wasm_runtime_common.h b/core/iwasm/common/wasm_runtime_common.h index 36dae951c..328cdfac1 100644 --- a/core/iwasm/common/wasm_runtime_common.h +++ b/core/iwasm/common/wasm_runtime_common.h @@ -774,24 +774,24 @@ wasm_runtime_finalize_call_function(WASMExecEnv *exec_env, bool wasm_runtime_get_export_func_type(const WASMModuleCommon *module_comm, - const WASMExport *export, + const WASMExport *export_func_type, WASMType **out); bool wasm_runtime_get_export_global_type(const WASMModuleCommon *module_comm, - const WASMExport *export, + const WASMExport *export_global_type, uint8 *out_val_type, bool *out_mutability); bool wasm_runtime_get_export_memory_type(const WASMModuleCommon *module_comm, - const WASMExport *export, + const WASMExport *export_memory_type, uint32 *out_min_page, uint32 *out_max_page); bool wasm_runtime_get_export_table_type(const WASMModuleCommon *module_comm, - const WASMExport *export, + const WASMExport *export_table_type, uint8 *out_elem_type, uint32 *out_min_size, uint32 *out_max_size);