Change the underlying type of JSON integer from long to json_int_t
authorPetri Lehtinen <petri@digip.org>
Fri, 13 Aug 2010 19:06:01 +0000 (22:06 +0300)
committerPetri Lehtinen <petri@digip.org>
Fri, 13 Aug 2010 19:07:20 +0000 (22:07 +0300)
commitffbab6fedd86ee1a0c7884d62fa7233ce9d745d2
tree3c5adc996aa95b68e923d8080b752cab0d0b7db6
parent7ce70533c90dc7dfc3570023144547dfb32950e1
Change the underlying type of JSON integer from long to json_int_t

json_int_t is typedef'd to long long if it's supported, or long
otherwise. There's also some supporting things, like the
JSON_INTEGER_FORMAT macro that expands to the printf() conversion
specifier that corresponds to json_int_t's actual type.

This is a backwards incompatible change.
17 files changed:
configure.ac
doc/apiref.rst
doc/conformance.rst
src/dump.c
src/jansson.h
src/jansson_config.h.in
src/jansson_private.h
src/load.c
src/value.c
test/suites/invalid-strip/too-big-negative-integer/error
test/suites/invalid-strip/too-big-negative-integer/input
test/suites/invalid-strip/too-big-positive-integer/error
test/suites/invalid-strip/too-big-positive-integer/input
test/suites/invalid/too-big-negative-integer/error
test/suites/invalid/too-big-negative-integer/input
test/suites/invalid/too-big-positive-integer/error
test/suites/invalid/too-big-positive-integer/input