Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm_export.h: Make this less config dependant #1190

Merged
merged 1 commit into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
wasm_export.h: Make this less config dependant
This header is supposed to be used by user code,
which is not a part of WAMR.  Usually WAMR configuration is
not available there.
  • Loading branch information
yamt committed May 25, 2022
commit 60f5c1b90ac4d4feabcc1e7cbeb6d048150889c9
5 changes: 3 additions & 2 deletions core/iwasm/include/wasm_export.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down