From: Christopher Watford Date: Tue, 30 Jun 2009 03:40:53 +0000 (+0000) Subject: Disable REFCOUNT_DEBUG by default in json_object.c X-Git-Tag: json-c-0.10-20120530~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5cbf8214ab628bead203d2ac3a1948bc3005801;p=thirdparty%2Fjson-c.git 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 --- diff --git a/ChangeLog b/ChangeLog index bcff91f1..6065747e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/json_object.c b/json_object.c index e412e4f7..f52445c9 100644 --- a/json_object.c +++ b/json_object.c @@ -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";