From 923d660de00f5d7397fa4ab047f8db4407f1930c Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Thu, 19 Nov 2009 15:57:31 -0300 Subject: 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. --- doc/typesystemvariables.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') 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 ` + `_ + type system tag. Take the following method and related type system description as an example: -- cgit v1.2.3