diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2012-04-24 21:54:07 -0500 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2012-04-24 21:54:07 -0500 |
commit | 4e000a65e671588749a670c5d954ffa8d2d41b0a (patch) | |
tree | 257279a5b0edd7b7abdfc0b1da03089392329ef5 /json_object_iterator.h | |
parent | 0f8c53450291ab4d108cf5cb83104d1fbe39a002 (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.h | 5 |
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); |