diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2019-09-21 19:45:00 +0200 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-09-21 10:45:00 -0700 |
commit | 31b132be0d9edf75a118efc00e06abf636fe5b15 (patch) | |
tree | 39293438a5bcf4d6559a5311c894d177e47351bb /src/wasm/wasm-binary.cpp | |
parent | aeaad27d41b8df5d8ec30e7136cc1b5ead89bbd2 (diff) | |
download | binaryen-31b132be0d9edf75a118efc00e06abf636fe5b15.tar.gz binaryen-31b132be0d9edf75a118efc00e06abf636fe5b15.tar.bz2 binaryen-31b132be0d9edf75a118efc00e06abf636fe5b15.zip |
Mark C API as dllexports on Windows (#2342)
On Windows, symbols have to be explicitly exported to make them visible/accessible in a shared library. Binaryen.dll currently doesn't export any symbols as a result.
Marking all exported methods as `BINARYEN_API` that is defined as `__declspec(dllexport)` on Windows, unless building a static library.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions