aboutsummaryrefslogtreecommitdiff
path: root/test/suites/api/Makefile.am
diff options
context:
space:
mode:
authorMaxim Zhukov <mussitantesmortem@gmail.com>2020-01-09 22:18:41 +0300
committerMaxim Zhukov <mussitantesmortem@gmail.com>2020-09-01 10:22:14 +0300
commitca6775dee4a3cbbb79074e523eb81feb6f1893a6 (patch)
tree02a617709a22f4f6b5fe9616f848b2f2e80e984c /test/suites/api/Makefile.am
parentba4503804bb6605598ce43d5cbde9ce1fa735d4d (diff)
downloadjansson-ca6775dee4a3cbbb79074e523eb81feb6f1893a6.zip
jansson-ca6775dee4a3cbbb79074e523eb81feb6f1893a6.tar.gz
jansson-ca6775dee4a3cbbb79074e523eb81feb6f1893a6.tar.bz2
introduce new fixed-size key API
This commit added functions working with fixed-size strings (non null-terminated also). It's helpful for the following cases: * getting key from substring without copying to separate buffer (better perfomance) * using pure UTF-8 keys for the objets * hack: set binary structs as the keys (see test_binary_keys) added functions: * json_object_getn * json_object_setn * json_object_setn_nocheck * json_object_setn_new * json_object_setn_new_nocheck * json_object_deln * json_object_iter_key_len added iterators: * json_object_keylen_foreach * json_object_keylen_foreach_safe Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
Diffstat (limited to 'test/suites/api/Makefile.am')
-rw-r--r--test/suites/api/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/suites/api/Makefile.am b/test/suites/api/Makefile.am
index 497a69d..2bc638b 100644
--- a/test/suites/api/Makefile.am
+++ b/test/suites/api/Makefile.am
@@ -7,6 +7,7 @@ check_PROGRAMS = \
test_dump \
test_dump_callback \
test_equal \
+ test_fixed_size \
test_load \
test_load_callback \
test_loadb \
@@ -24,6 +25,7 @@ test_chaos_SOURCES = test_chaos.c util.h
test_copy_SOURCES = test_copy.c util.h
test_dump_SOURCES = test_dump.c util.h
test_dump_callback_SOURCES = test_dump_callback.c util.h
+test_fixed_size_SOURCES = test_fixed_size.c util.h
test_load_SOURCES = test_load.c util.h
test_loadb_SOURCES = test_loadb.c util.h
test_memory_funcs_SOURCES = test_memory_funcs.c util.h