aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2018-02-09 09:39:38 +0200
committerGitHub <noreply@github.com>2018-02-09 09:39:38 +0200
commitfa0b5ece9e3af5f20a8b72c5b62ce53c98ccfc71 (patch)
tree37ab9c30fe420821e01cda17dd23140ab2ef3ac0 /doc
parent2863dde05389eff2bab24591ba4e9775f0ec9509 (diff)
parent24d45272a7553da609e747ef7deb1cf2c3d5beb7 (diff)
downloadjansson-fa0b5ece9e3af5f20a8b72c5b62ce53c98ccfc71.zip
jansson-fa0b5ece9e3af5f20a8b72c5b62ce53c98ccfc71.tar.gz
jansson-fa0b5ece9e3af5f20a8b72c5b62ce53c98ccfc71.tar.bz2
Merge pull request #380 from phst/doc-error-code
document that json_error_code will be added in version 2.11
Diffstat (limited to 'doc')
-rw-r--r--doc/apiref.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst
index b429d0b..f1a7e16 100644
--- a/doc/apiref.rst
+++ b/doc/apiref.rst
@@ -966,10 +966,14 @@ in which case no error information is returned to the caller.
Array index is out of range.
+ .. versionadded:: 2.11
+
.. function:: enum json_error_code json_error_code(const json_error_t *error)
Returns the error code embedded in ``error->text``.
+ .. versionadded:: 2.11
+
Encoding
========