From 731a68999274ab58fb35f3d3238f713fbf91c878 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Mon, 28 Dec 2009 16:51:08 -0300 Subject: Modifies ShibokenGenerator::writeCodeSnips semantics. A NULL pointer in the "lastArg" parameter of writeCodeSnips means that the function being processed will be called without arguments. The behavior prior to this change was that a NULL lastArg indicates that all arguments are to be used. --- shibokengenerator.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shibokengenerator.h') diff --git a/shibokengenerator.h b/shibokengenerator.h index 74477ad77..83cf195f8 100644 --- a/shibokengenerator.h +++ b/shibokengenerator.h @@ -102,7 +102,9 @@ public: * \param position the position to insert the code snip * \param language the kind of code snip * \param func the cpp function - * \param lastArg last argument whose value is available + * \param lastArg last argument whose value is available, usually the last; + * a NULL pointer indicates that no argument will be available, + * i.e. a call without arguments. * \param context the class context for the place where the code snip will be written */ void writeCodeSnips(QTextStream &s, -- cgit v1.2.3