summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-02-10 18:02:43 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:14 -0300
commit181789982339a85ae6ad7a973816b2adeb48739a (patch)
treefc4afa4b3a8b531cf5898a29ff32c0198d85799f
parent2c927a298b845cbf08a551614884e2a4a12482a9 (diff)
Update documentation for reference-count tag.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Ara├║jo <renato.filho@openbossa.org>
-rw-r--r--doc/typesystem_arguments.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/typesystem_arguments.rst b/doc/typesystem_arguments.rst
index 94d48f4e..16e0678d 100644
--- a/doc/typesystem_arguments.rst
+++ b/doc/typesystem_arguments.rst
@@ -143,7 +143,9 @@ reference-count
following values:
* add: increments the argument reference counter.
+ * add-all: increments the reference counter for each item in a collection.
* remove: decrements the argument reference counter.
+ * set: will assign the argument to the variable containing the reference.
* ignore: does nothing with the argument reference counter
(sounds worthless, but could be used in situations
where the reference counter increase is mandatory
@@ -152,10 +154,14 @@ reference-count
.. code-block:: xml
<modify-argument>
- <reference-count action="add|remove|ignore" />
+ <reference-count action="add|add-all|remove|set|ignore" variable-name="..." />
</modify-argument>
+ The variable-name attribute specifies the name used for the variable that
+ holds the reference(s).
+
+
replace-value
^^^^^^^^^^^^^