]> granicus.if.org Git - json-c/commit
Simplify things by storing integer values only as int64_t's internally, and
authorehaszla <ehaszla@327403b1-1117-474d-bef2-5cb71233fd97>
Tue, 7 Dec 2010 18:15:35 +0000 (18:15 +0000)
committerehaszla <ehaszla@327403b1-1117-474d-bef2-5cb71233fd97>
Tue, 7 Dec 2010 18:15:35 +0000 (18:15 +0000)
commit252669cee672b101cc43b2baae86db4a8bcb80eb
treef9735cbbf9703534b59e8c78b1881eb21cf583f4
parentf1ae67dbf0d5d921d2786cc63878dcc21e2a32ea
Simplify things by storing integer values only as int64_t's internally, and
 omit the range check during parsing since we already have the checks when
 accessing the value. There is no longer a json_type_int64, only json_type_int.
Fix some problems with parsing 0 and -0 values, and add a couple of tests.
Fix some minor compile issues on HPUX environments.

git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@60 327403b1-1117-474d-bef2-5cb71233fd97
json_object.c
json_object.h
json_object_private.h
json_tokener.c
json_util.c
printbuf.c
test_parse_int64.c
test_parse_int64.expected