From 9f9c9fe41066ef806e21d7b75166a91788bff7a3 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 19 Sep 2013 21:26:41 +0300 Subject: [PATCH] doc: Fix index type for json_array_foreach() --- doc/apiref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/apiref.rst b/doc/apiref.rst index cc3226f..cfab058 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -510,7 +510,7 @@ in an array. Iterate over every element of ``array``, running the block of code that follows each time with the proper values set to - variables ``index`` and ``value``, of types :type:`int` and + variables ``index`` and ``value``, of types :type:`size_t` and :type:`json_t *` respectively. Example:: /* array is a JSON array */