jxl_export.h 939 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef JXL_EXPORT_H
  2. #define JXL_EXPORT_H
  3. #ifdef JXL_STATIC_DEFINE
  4. # define JXL_EXPORT
  5. # define JXL_NO_EXPORT
  6. #else
  7. # ifndef JXL_EXPORT
  8. # ifdef JXL_INTERNAL_LIBRARY_BUILD
  9. /* We are building this library */
  10. # define JXL_EXPORT __declspec(dllexport)
  11. # else
  12. /* We are using this library */
  13. # define JXL_EXPORT __declspec(dllimport)
  14. # endif
  15. # endif
  16. # ifndef JXL_NO_EXPORT
  17. # define JXL_NO_EXPORT
  18. # endif
  19. #endif
  20. #ifndef JXL_DEPRECATED
  21. # define JXL_DEPRECATED __declspec(deprecated)
  22. #endif
  23. #ifndef JXL_DEPRECATED_EXPORT
  24. # define JXL_DEPRECATED_EXPORT JXL_EXPORT JXL_DEPRECATED
  25. #endif
  26. #ifndef JXL_DEPRECATED_NO_EXPORT
  27. # define JXL_DEPRECATED_NO_EXPORT JXL_NO_EXPORT JXL_DEPRECATED
  28. #endif
  29. /* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
  30. #if 0 /* DEFINE_NO_DEPRECATED */
  31. # ifndef JXL_NO_DEPRECATED
  32. # define JXL_NO_DEPRECATED
  33. # endif
  34. #endif
  35. #endif /* JXL_EXPORT_H */