Exports.h 457 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. GWEN
  3. Copyright (c) 2010 Facepunch Studios
  4. See license in Gwen.h
  5. */
  6. #pragma once
  7. #ifndef GWEN_EXPORTS_H
  8. #define GWEN_EXPORTS_H
  9. #define GWEN_EXPORT
  10. #ifdef _MSC_VER
  11. #define GWEN_FINLINE __forceinline
  12. #define GWEN_PURE_INTERFACE __declspec(novtable)
  13. #elif defined(__GNUC__)
  14. #define GWEN_FINLINE __attribute__((always_inline)) inline
  15. #define GWEN_PUREINTERFACE
  16. #else
  17. #define GWEN_FINLINE inline
  18. #define GWEN_PUREINTERFACE
  19. #endif
  20. #endif