diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-19 15:57:31 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-19 16:15:27 -0300 |
commit | 923d660de00f5d7397fa4ab047f8db4407f1930c (patch) | |
tree | bac087e2d1484eee234d0c8415691d7b91df5669 /doc | |
parent | 41d487c7dab6dca179cbb90b113e8fe06cd420ce (diff) |
Modified ShibokenGenerator::writeCodeSnips to receive also an
AbstractMetaArgument indicating the last C++ argument available
(i.e. converted from Python arguments to C++) to be used in the
type system variable replacement. If a variable in the user's
custom code is not ready, it is replaced by the argument default
value.
Also updated the documentation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/typesystemvariables.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/typesystemvariables.rst b/doc/typesystemvariables.rst index 15fe8732c..ff4a0e34f 100644 --- a/doc/typesystemvariables.rst +++ b/doc/typesystemvariables.rst @@ -54,9 +54,14 @@ Variables **%ARGUMENT_NAMES** Replaced by a comma separated list with the names of all C++ arguments that - were not removed on the type system description for the method/function. If + were not removed on the type system description for the method/function. When the removed argument has a default value (original or provided in the type - system), this value will be inserted in the argument list. + system), this value will be inserted in the argument list. If you want to remove + the argument so completely that it doesn't appear in any form on the + ``%ARGUMENT_NAMES`` replacement, don't forget to remove also its default value + with the `<remove-default-expression/> + <http://www.pyside.org/docs/apiextractor/typesystem_arguments.html#remove-default-expression>`_ + type system tag. Take the following method and related type system description as an example: |