document that json_error_code will be added in version 2.11

This commit is contained in:
Philipp Stephani 2017-12-18 23:50:17 +01:00
parent 9e5af7c3b7
commit 24d45272a7

View File

@ -951,10 +951,14 @@ in which case no error information is returned to the caller.
Array index is out of range. Array index is out of range.
.. versionadded:: 2.11
.. function:: enum json_error_code json_error_code(const json_error_t *error) .. function:: enum json_error_code json_error_code(const json_error_t *error)
Returns the error code embedded in ``error->text``. Returns the error code embedded in ``error->text``.
.. versionadded:: 2.11
Encoding Encoding
======== ========