The R Project SVN R-packages

Rev

Blame | Last modification | View Log | Download | RSS feed

#ifndef JSON_VISUAL_C_HEADER
#define JSON_VISUAL_C_HEADER

#ifdef _MSC_VER

    #define json_deprecated(method, warning) __declspec(deprecated(warning)) method

    #define json_nothrow
    #define json_throws(x)
    #define json_pure json_nothrow
    #define json_read_priority
    #define json_write_priority
    #define json_malloc_attr json_nothrow
    #define json_hot
    #define json_cold
    #define json_likely(x) x
    #define json_unlikely(x) x

    #ifdef JSON_LESS_MEMORY
       #define PACKED(x) :x
       #define BITS(x) :x
    #endif

#endif

#endif