thorvg/src
Vincent Torri be2de28312 portability: fix usage of TVG_API
Rule of thumb on Windows:
  * for a DLL:
    * if the library is built, set TVG_API to __declspec(dllexport)
    * if the library is used, set TVG_API to __declspec(dllimport)
  * for a static library, set TVG_API to nothing

To set TVG_API for a static library, TVG_STATIC is defined when the stataic library is built.
Otherwise, TVG_API is correctly set for a DLL.
Also sun and intel compilers are handled

@issue: https://github.com/thorvg/thorvg/issues/1446
2023-05-16 18:55:33 +09:00
..
bin portability: fix usage of TVG_API 2023-05-16 18:55:33 +09:00
bindings portability: fix usage of TVG_API 2023-05-16 18:55:33 +09:00
examples portability: fix usage of TVG_API 2023-05-16 18:55:33 +09:00
lib api: remove deprecated apis 2023-05-13 18:30:11 +09:00
loaders svg_loader: fixing finding defs node 2023-05-16 10:43:45 +09:00
savers common: code refactoring 2023-05-15 12:07:55 +09:00
wasm common: code refactoring 2023-05-15 12:07:55 +09:00
meson.build portability: fix usage of TVG_API 2023-05-16 18:55:33 +09:00