File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1818#include "bh_vector.h"
1919#include "runtime_timer.h"
2020
21- /**
22- * API visibility macros for WAMR internal functions
23- *
24- * WASM_RUNTIME_API_EXTERN - Public exported APIs (defined in wasm_export.h)
25- * WASM_RUNTIME_API_INTERN - Internal APIs visible across WAMR components
26- *
27- * In test builds (WAMR_BUILD_TEST=1), internal APIs are exposed for unit
28- * testing. In production builds, internal APIs are static (file-scoped) for
29- * encapsulation.
30- */
31- #ifndef WASM_RUNTIME_API_INTERN
32- #ifdef WAMR_BUILD_TEST
33- #define WASM_RUNTIME_API_INTERN
34- #else
35- #define WASM_RUNTIME_API_INTERN static
36- #endif
37- #endif
38-
3921/**
4022 * WA_MALLOC/WA_FREE need to be redefined for both
4123 * runtime native and WASM app respectively.
You can’t perform that action at this time.
0 commit comments