From 24d45272a7553da609e747ef7deb1cf2c3d5beb7 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 18 Dec 2017 23:50:17 +0100 Subject: document that json_error_code will be added in version 2.11 --- doc/apiref.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/apiref.rst b/doc/apiref.rst index a8cf8d6..75c3439 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -951,10 +951,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 ======== -- cgit v1.1