Browse Source

Remove the THIS_FUNCTION_IS_DEPRECATED define, we stopped using it long ago.

tags/json-c-0.15-20200726
Eric Haszlakiewicz 5 years ago
parent
commit
cb10a13e94
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      json_object.h

+ 0
- 10
json_object.h View File

@@ -17,16 +17,6 @@
#ifndef _json_object_h_ #ifndef _json_object_h_
#define _json_object_h_ #define _json_object_h_


#ifdef __GNUC__
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__((deprecated))
#elif defined(_MSC_VER)
#define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func
#elif defined(__clang__)
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
#else
#define THIS_FUNCTION_IS_DEPRECATED(func) func
#endif

#ifdef __GNUC__ #ifdef __GNUC__
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const)) #define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
#else #else


Loading…
Cancel
Save