PylonUtility.h 937 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //-----------------------------------------------------------------------------
  2. // Basler pylon SDK
  3. // Copyright (c) 2006-2021 Basler AG
  4. // http://www.baslerweb.com
  5. // Author: AH
  6. //-----------------------------------------------------------------------------
  7. /* AH: intentionally omitted for doxygen documentation
  8. \file
  9. \brief Defines for the pylon utility library.
  10. */
  11. #ifndef PYLONUTILITY_H
  12. #define PYLONUTILITY_H
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif
  16. #include <pylon/Platform.h>
  17. #ifdef _MSC_VER
  18. # pragma pack(push, PYLON_PACKING)
  19. #endif /* _MSC_VER */
  20. #ifdef PYLONUTILITY_EXPORTS
  21. # define PYLONUTILITY_API APIEXPORT
  22. #else
  23. # define PYLONUTILITY_API APIIMPORT
  24. #endif
  25. #if defined(PYLON_UTILITY_3_0_NO_DEPRECATE)
  26. # define PYLON_UTILITY_3_0_DEPRECATED(message)
  27. #else
  28. # define PYLON_UTILITY_3_0_DEPRECATED(message) PYLON_DEPRECATED(message)
  29. #endif
  30. #ifdef _MSC_VER
  31. # pragma pack(pop)
  32. #endif /* _MSC_VER */
  33. #endif