ca6775dee4
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>
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
EXTRA_DIST = run check-exports
|
|
|
|
check_PROGRAMS = \
|
|
test_array \
|
|
test_chaos \
|
|
test_copy \
|
|
test_dump \
|
|
test_dump_callback \
|
|
test_equal \
|
|
test_fixed_size \
|
|
test_load \
|
|
test_load_callback \
|
|
test_loadb \
|
|
test_memory_funcs \
|
|
test_number \
|
|
test_object \
|
|
test_pack \
|
|
test_simple \
|
|
test_sprintf \
|
|
test_unpack \
|
|
test_version
|
|
|
|
test_array_SOURCES = test_array.c util.h
|
|
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
|
|
test_number_SOURCES = test_number.c util.h
|
|
test_object_SOURCES = test_object.c util.h
|
|
test_pack_SOURCES = test_pack.c util.h
|
|
test_simple_SOURCES = test_simple.c util.h
|
|
test_sprintf_SOURCES = test_sprintf.c util.h
|
|
test_unpack_SOURCES = test_unpack.c util.h
|
|
test_version_SOURCES = test_version.c util.h
|
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
LDFLAGS = -static # for speed and Valgrind
|
|
LDADD = $(top_builddir)/src/libjansson.la
|