aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-06-16 10:47:26 +0200
committerHenrik Nord <[email protected]>2015-06-16 10:47:26 +0200
commit1c583a11b532f753fe09c2c42109dc6e514e3d76 (patch)
treefaaf9ce242ad72de5f59a892b52fae0970bc31f1
parent5a7322c6a4fa79fe2a12b590c2e51c70a4fc29ab (diff)
parent03ae2f86e6a6a4b013fc89a814221fbfe1fe5cf3 (diff)
downloadotp-1c583a11b532f753fe09c2c42109dc6e514e3d76.tar.gz
otp-1c583a11b532f753fe09c2c42109dc6e514e3d76.tar.bz2
otp-1c583a11b532f753fe09c2c42109dc6e514e3d76.zip
Merge branch 'tomas-abrahamsson/patch-1'
* tomas-abrahamsson/patch-1: Add forgotten argument to example in erl_nif doc
-rw-r--r--erts/doc/src/erl_nif.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index f64381c99d..412c0e02ac 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -1177,7 +1177,7 @@ typedef enum {
<code type="none">
ERL_NIF_TERM key, value;
ErlNifMapIterator iter;
-enif_map_iterator_create(env, my_map, ERL_NIF_MAP_ITERATOR_FIRST);
+enif_map_iterator_create(env, my_map, &amp;iter, ERL_NIF_MAP_ITERATOR_FIRST);
while (enif_map_iterator_get_pair(env, &amp;iter, &amp;key, &amp;value)) {
do_something(key,value);