Skip to content

Commit 69324ee

Browse files
committed
refactor(bh_platform): remove unused API visibility macros
1 parent 6042a61 commit 69324ee

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

core/shared/utils/bh_platform.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,6 @@
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.

0 commit comments

Comments
 (0)