Document and tweak json_load_callback()
authorPetri Lehtinen <petri@digip.org>
Mon, 26 Mar 2012 18:52:01 +0000 (21:52 +0300)
committerPetri Lehtinen <petri@digip.org>
Mon, 26 Mar 2012 18:53:21 +0000 (21:53 +0300)
commite8fd3e308505879e0f10603e2ed922757bd62c8c
tree8391b2fc6598475be57c2f6a09a362feb7d6e555
parent873eddaf19987e7fd68c9457351359c446a6230e
Document and tweak json_load_callback()

Change the return value of json_load_callback_t to size_t, as it's
feels more correct. The callback should return (size_t)-1 on failure.

Issue #57.
doc/apiref.rst
src/jansson.h
src/load.c
test/suites/api/test_load_callback.c