BsMonoPrerequisites.h 909 B

12345678910111213141516171819202122232425262728293031
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPrerequisites.h"
  5. #if (BS_PLATFORM == BS_PLATFORM_WIN32) && !defined(__MINGW32__)
  6. # ifdef BS_MONO_EXPORTS
  7. # define BS_MONO_EXPORT __declspec(dllexport)
  8. # else
  9. # if defined( __MINGW32__ )
  10. # define BS_MONO_EXPORT
  11. # else
  12. # define BS_MONO_EXPORT __declspec(dllimport)
  13. # endif
  14. # endif
  15. #elif defined ( BS_GCC_VISIBILITY )
  16. # define BS_MONO_EXPORT __attribute__ ((visibility("default")))
  17. #else
  18. # define BS_MONO_EXPORT
  19. #endif
  20. namespace BansheeEngine
  21. {
  22. class MonoManager;
  23. class MonoAssembly;
  24. class MonoClass;
  25. class MonoMethod;
  26. class MonoField;
  27. class MonoProperty;
  28. }