From c5cbf8214ab628bead203d2ac3a1948bc3005801 Mon Sep 17 00:00:00 2001 From: Christopher Watford Date: Tue, 30 Jun 2009 03:40:53 +0000 Subject: [PATCH] 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 --- ChangeLog | 1 + json_object.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bcff91f..6065747 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 e412e4f..f52445c 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";