aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-18 04:58:13 +0000
committerDavid Robillard <d@drobilla.net>2012-02-18 04:58:13 +0000
commitc114eb799bdb1ed422681b77f06d8dcffe69adfa (patch)
tree392b82c681d0a7a5ecb9d850cbfa7df1b3379f8e
parentc6a68dde29f61d6f67439635a33413a8c63f3091 (diff)
downloadlv2-c114eb799bdb1ed422681b77f06d8dcffe69adfa.tar.xz
Update documentation to match reality.
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom-helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom-helpers.h b/lv2/lv2plug.in/ns/ext/atom/atom-helpers.h
index 3bfad57..e6ecd9c 100644
--- a/lv2/lv2plug.in/ns/ext/atom/atom-helpers.h
+++ b/lv2/lv2plug.in/ns/ext/atom/atom-helpers.h
@@ -173,8 +173,8 @@ lv2_tuple_iter_get(LV2_Atom_Tuple_Iter i)
This macro is used similarly to a for loop (which it expands to), e.g.:
@code
LV2_TUPLE_FOREACH(tuple, i) {
- LV2_Atom_Property* prop = lv2_tuple_iter_get(i);
- // Do something with prop here...
+ LV2_Atom* elem = lv2_tuple_iter_get(i);
+ // Do something with elem here...
}
@endcode
*/
@@ -239,7 +239,7 @@ lv2_object_iter_get(LV2_Atom_Object_Iter i)
This macro is used similarly to a for loop (which it expands to), e.g.:
@code
LV2_OBJECT_FOREACH(object, i) {
- LV2_Atom_Property* prop = lv2_object_iter_get(i);
+ LV2_Atom_Property_Body* prop = lv2_object_iter_get(i);
// Do something with prop here...
}
@endcode