wasm-micro-runtime/core/iwasm/include
Xavier Del Campo 296c3cc69d
wasm_export.h: Use "default" visibility for gcc and clang (#3957)
Since the top-level CMakelists.txt is appending `-fvisibility=hidden` to
the compile options, no public symbols are exported by default. This
forbids users from linking against the shared library.

Using `gcc/clang` attributes [1], it is possible to override the definition
for `WASM_RUNTIME_API_EXTERN` so that only required symbols are
correctly exported.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
2024-12-19 08:49:13 +08:00
..
aot_comp_option.h Merge pull request #3823 from bytecodealliance/dev/shared_heap 2024-10-15 14:26:22 +08:00
aot_export.h Expose more functions related to emitting AOT files (#3520) 2024-06-14 15:57:45 +08:00
gc_export.h Add WASM_V128 in wasm_valkind_enum (#3412) 2024-05-14 10:22:42 +08:00
lib_export.h Add necessary comments for doxygen (#3299) 2024-04-11 07:50:08 +08:00
wasm_c_api.h Add no_resolve to LoadArgs and wasm_runtime_resolve_symbols (#3790) 2024-09-20 08:54:09 +08:00
wasm_export.h wasm_export.h: Use "default" visibility for gcc and clang (#3957) 2024-12-19 08:49:13 +08:00