Skip to content

Commit 0c7f52f

Browse files
committed
Fix Compiler Error C2491
> Data, static data members, and functions can be declared as `dllimports` but not defined as `dllimports`. https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2491?view=msvc-170
1 parent f4f33b6 commit 0c7f52f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/iwasm/common/wasm_runtime_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ wasm_runtime_load_ex(uint8 *buf, uint32 size, const LoadArgs *args,
15041504
error_buf_size);
15051505
}
15061506

1507-
WASM_RUNTIME_API_EXTERN bool
1507+
bool
15081508
wasm_runtime_resolve_symbols(WASMModuleCommon *module)
15091509
{
15101510
#if WASM_ENABLE_INTERP != 0
@@ -7836,7 +7836,7 @@ wasm_runtime_detect_native_stack_overflow_size(WASMExecEnv *exec_env,
78367836
return true;
78377837
}
78387838

7839-
WASM_RUNTIME_API_EXTERN bool
7839+
bool
78407840
wasm_runtime_is_underlying_binary_freeable(WASMModuleCommon *const module)
78417841
{
78427842
#if WASM_ENABLE_INTERP != 0

0 commit comments

Comments
 (0)