summaryrefslogtreecommitdiff
path: root/json_object_private.h
diff options
context:
space:
mode:
authorKeith Derrick <keith.derrick@palm.com>2012-03-26 14:29:31 -0700
committerKeith Derrick <keith.derrick@palm.com>2012-03-26 14:29:31 -0700
commit37e74674769d2ae224ad52b1a866eb38c00e2821 (patch)
treec2b0e101f96334205efc852b86834c7a0a0cb41a /json_object_private.h
parent2f9091f55962ac64c2aedcd3287e9b280fce0b6a (diff)
Rename boolean type to json_bool
In building large systems, there are often clashes over the preferred base type to use for bool/boolean. At least one experience has been with a 3rd party proprietary library which can not be changed. In that case, boolean was a synonym for unsigned char and used widely in packed structures.
Diffstat (limited to 'json_object_private.h')
-rw-r--r--json_object_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json_object_private.h b/json_object_private.h
index ceca58c..112ce76 100644
--- a/json_object_private.h
+++ b/json_object_private.h
@@ -28,7 +28,7 @@ struct json_object
int _ref_count;
struct printbuf *_pb;
union data {
- boolean c_boolean;
+ json_bool c_boolean;
double c_double;
int64_t c_int64;
struct lh_table *c_object;