gedll.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. //////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Copyright 2015 Autodesk, Inc. All rights reserved.
  5. //
  6. // Use of this software is subject to the terms of the Autodesk license
  7. // agreement provided at the time of installation or download, or which
  8. // otherwise accompanies this software in either electronic or hard copy form.
  9. //
  10. //////////////////////////////////////////////////////////////////////////////
  11. //
  12. // DESCRIPTION:
  13. //
  14. // This module controls the exporting of symbols for the AcGe Dll.
  15. //
  16. #ifndef AC_GEDLL_H
  17. #define AC_GEDLL_H
  18. #include "adesk.h"
  19. #if defined(_ADESK_WINDOWS_)
  20. #pragma warning(disable:4251)
  21. #pragma warning(disable:4273)
  22. #pragma warning(disable:4275)
  23. #endif
  24. #ifdef ACGE_INTERNAL
  25. #ifdef _ADESK_IOS_
  26. #define GE_DLLEXPIMPORT
  27. #else
  28. #define GE_DLLEXPIMPORT __declspec(dllexport)
  29. #endif
  30. #else
  31. #define GE_DLLEXPIMPORT __declspec(dllimport)
  32. #endif
  33. #ifdef ACGX_INTERNAL
  34. #define GX_DLLEXPIMPORT __declspec(dllexport)
  35. #else
  36. #define GX_DLLEXPIMPORT __declspec(dllimport)
  37. #endif
  38. #if defined(_ADESK_WINDOWS_)
  39. #ifdef ACGE_INTERNAL
  40. #ifndef GELIB_REGRESS
  41. #include "acmemdebug.h"
  42. #endif
  43. #endif
  44. #endif // _ADESK_WINDOWS_
  45. #endif // AC_GEDLL_H