Browse Source

Disable REFCOUNT_DEBUG by default in json_object.c

git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@40 327403b1-1117-474d-bef2-5cb71233fd97
tags/json-c-0.10-20120530
Christopher Watford 16 years ago
parent
commit
c5cbf8214a
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      ChangeLog
  2. +1
    -1
      json_object.c

+ 1
- 0
ChangeLog View File

@@ -3,6 +3,7 @@
Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
* optimizations to json_tokener_parse_ex(), printbuf_memappend()
Brent Miller, bdmiller at yahoo dash inc dot com
* Disable REFCOUNT_DEBUG by default in json_object.c
* Don't use this as a variable, so we can compile with a C++ compiler
* Add casts from void* to type of assignment when using malloc
* Add #ifdef __cplusplus guards to all of the headers


+ 1
- 1
json_object.c View File

@@ -27,7 +27,7 @@
char* strndup(const char* str, size_t n);
#endif /* !HAVE_STRNDUP */

#define REFCOUNT_DEBUG 1
/* #define REFCOUNT_DEBUG 1 */

const char *json_number_chars = "0123456789.+-eE";
const char *json_hex_chars = "0123456789abcdef";


Loading…
Cancel
Save