summaryrefslogtreecommitdiff
path: root/json_object_iterator.h
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2012-04-24 21:54:07 -0500
committerEric Haszlakiewicz <erh+git@nimenees.com>2012-04-24 21:54:07 -0500
commit4e000a65e671588749a670c5d954ffa8d2d41b0a (patch)
tree257279a5b0edd7b7abdfc0b1da03089392329ef5 /json_object_iterator.h
parent0f8c53450291ab4d108cf5cb83104d1fbe39a002 (diff)
Since we already use a local json_bool type, replace any stdbool.h usage with
that, since not all environments actually have a stdbool.h to use.
Diffstat (limited to 'json_object_iterator.h')
-rw-r--r--json_object_iterator.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/json_object_iterator.h b/json_object_iterator.h
index 3221a15..f6e7ca6 100644
--- a/json_object_iterator.h
+++ b/json_object_iterator.h
@@ -24,7 +24,6 @@
#define JSON_OBJECT_ITERATOR_H
#include <stddef.h>
-#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
@@ -223,11 +222,11 @@ json_object_iter_peek_value(const struct json_object_iterator* iter);
* different JSON Object instances are passed, bad things
* will happen!
*
- * @return bool non-zero if iterators are equal (i.e., both
+ * @return json_bool non-zero if iterators are equal (i.e., both
* reference the same name/value pair or are both at
* "end"); zero if they are not equal.
*/
-bool
+json_bool
json_object_iter_equal(const struct json_object_iterator* iter1,
const struct json_object_iterator* iter2);