diff options
author | Petri Lehtinen <petri@digip.org> | 2010-08-13 22:19:20 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2010-08-14 17:28:09 +0300 |
commit | bfac1972e25b40f849852ce3c10e0a8ad47f79d7 (patch) | |
tree | 30a31dda490ebbcaa5dedd3135d54bc4037f4033 /test/suites/api/test_equal.c | |
parent | f8d0e01e46cd9452b5d7780906029d899215cb89 (diff) | |
download | jansson-bfac1972e25b40f849852ce3c10e0a8ad47f79d7.zip jansson-bfac1972e25b40f849852ce3c10e0a8ad47f79d7.tar.gz jansson-bfac1972e25b40f849852ce3c10e0a8ad47f79d7.tar.bz2 |
Add a flags parameter to all decoding functions for future needs
As of now, the parameter is unused, but may be needed in the future.
I'm adding it now so that in the future both API and ABI remain
backwards compatible as long as possible.
This is a backwards incompatible change.
Diffstat (limited to 'test/suites/api/test_equal.c')
-rw-r--r-- | test/suites/api/test_equal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suites/api/test_equal.c b/test/suites/api/test_equal.c index 111ee26..3b4ec2a 100644 --- a/test/suites/api/test_equal.c +++ b/test/suites/api/test_equal.c @@ -167,8 +167,8 @@ static void test_equal_complex() " \"array\": [\"foo\", false, null, 1.234]" "}"; - value1 = json_loads(complex_json, NULL); - value2 = json_loads(complex_json, NULL); + value1 = json_loads(complex_json, 0, NULL); + value2 = json_loads(complex_json, 0, NULL); if(!value1 || !value2) fail("unable to parse JSON"); if(!json_equal(value1, value2)) |