mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-11 00:15:29 +00:00
fixed typecast error when compiling in C++ (#179)
This commit is contained in:
parent
af4a96e2a0
commit
76eea80046
|
@ -15,8 +15,8 @@ typedef struct NativeSymbol {
|
|||
void *func_ptr;
|
||||
} NativeSymbol;
|
||||
|
||||
#define EXPORT_WASM_API(symbol) {#symbol, symbol}
|
||||
#define EXPORT_WASM_API2(symbol) {#symbol, symbol##_wrapper}
|
||||
#define EXPORT_WASM_API(symbol) {#symbol, (void*)symbol}
|
||||
#define EXPORT_WASM_API2(symbol) {#symbol, (void*)symbol##_wrapper}
|
||||
|
||||
/**
|
||||
* Get the exported APIs of base lib
|
||||
|
|
Loading…
Reference in New Issue
Block a user