diff options
| author | Ryan Lopopolo <[email protected]> | 2019-08-18 19:40:12 -0700 |
|---|---|---|
| committer | Ryan Lopopolo <[email protected]> | 2019-08-18 19:40:12 -0700 |
| commit | b5662c87c8217d7a0262fa1808450ab1752ff1b4 (patch) | |
| tree | 68d5fe9a005430d74a8951fb218d48c8c645703e /src/string.c | |
| parent | 3fbd5f0029c24d43870a44b342ab9600d7c1fcca (diff) | |
| download | mruby-b5662c87c8217d7a0262fa1808450ab1752ff1b4.tar.gz mruby-b5662c87c8217d7a0262fa1808450ab1752ff1b4.zip | |
Allow external definition of MRB_API macro
When building WebAssembly targets with clang (e.g. wasm32-unknown-unknown), all
symbols are hidden by default. To export a symbol, it must be marked with
__attribute__((visibility(default)))
Rather than detecting this exotic target in mruby, allow MRB_API to be defined
externally.
Diffstat (limited to 'src/string.c')
0 files changed, 0 insertions, 0 deletions
