mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-11 12:11:14 +00:00
wasm_export.h: Make RuntimeInitArgs less config dependent (#1190)
This header file is supposed to be used by user code, which is not a part of WAMR. Usually WAMR configuration is not available there, remove DEBUG_INTERP macro control in it.
This commit is contained in:
parent
2288695a33
commit
3fd763a95c
|
@ -133,11 +133,12 @@ typedef struct RuntimeInitArgs {
|
|||
/* maximum thread number, only used when
|
||||
WASM_ENABLE_THREAD_MGR is defined */
|
||||
uint32_t max_thread_num;
|
||||
#if WASM_ENABLE_DEBUG_INTERP != 0
|
||||
|
||||
/* Debug settings, only used when
|
||||
WASM_ENABLE_DEBUG_INTERP != 0 */
|
||||
char ip_addr[128];
|
||||
int platform_port;
|
||||
int instance_port;
|
||||
#endif
|
||||
} RuntimeInitArgs;
|
||||
|
||||
#ifndef WASM_VALKIND_T_DEFINED
|
||||
|
|
Loading…
Reference in New Issue
Block a user