Visual_C.h 560 B

1234567891011121314151617181920212223242526
  1. #ifndef JSON_VISUAL_C_HEADER
  2. #define JSON_VISUAL_C_HEADER
  3. #ifdef _MSC_VER
  4. #define json_deprecated(method, warning) __declspec(deprecated(warning)) method
  5. #define json_nothrow
  6. #define json_throws(x)
  7. #define json_pure json_nothrow
  8. #define json_read_priority
  9. #define json_write_priority
  10. #define json_malloc_attr json_nothrow
  11. #define json_hot
  12. #define json_cold
  13. #define json_likely(x) x
  14. #define json_unlikely(x) x
  15. #ifdef JSON_LESS_MEMORY
  16. #define PACKED(x) :x
  17. #define BITS(x) :x
  18. #endif
  19. #endif
  20. #endif