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
This commit is contained in:
Christopher Watford
2009-06-30 03:40:53 +00:00
parent ffa742a552
commit c5cbf8214a
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
* optimizations to json_tokener_parse_ex(), printbuf_memappend() * optimizations to json_tokener_parse_ex(), printbuf_memappend()
Brent Miller, bdmiller at yahoo dash inc dot com 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 * 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 casts from void* to type of assignment when using malloc
* Add #ifdef __cplusplus guards to all of the headers * Add #ifdef __cplusplus guards to all of the headers

View File

@@ -27,7 +27,7 @@
char* strndup(const char* str, size_t n); char* strndup(const char* str, size_t n);
#endif /* !HAVE_STRNDUP */ #endif /* !HAVE_STRNDUP */
#define REFCOUNT_DEBUG 1 /* #define REFCOUNT_DEBUG 1 */
const char *json_number_chars = "0123456789.+-eE"; const char *json_number_chars = "0123456789.+-eE";
const char *json_hex_chars = "0123456789abcdef"; const char *json_hex_chars = "0123456789abcdef";