mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 05:25:04 +00:00
doc: Fix index type for json_array_foreach()
This commit is contained in:
parent
e39112b29c
commit
9f9c9fe410
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue