scilab: fix String & printf previous commit

This commit is contained in:
Simon Marchetto 2014-07-21 12:36:35 +02:00
commit dead560910

View file

@ -465,10 +465,16 @@ public:
String *argnumber = NewString("");
Printf(argnumber, "%d", minInputArguments);
Replaceall(wrapper->code, "$mininputarguments", argnumber);
argnumber = NewString("");
Printf(argnumber, "%d", maxInputArguments);
Replaceall(wrapper->code, "$maxinputarguments", argnumber);
argnumber = NewString("");
Printf(argnumber, "%d", minOutputArguments);
Replaceall(wrapper->code, "$minoutputarguments", argnumber);
argnumber = NewString("");
Printf(argnumber, "%d", maxOutputArguments);
Replaceall(wrapper->code, "$maxoutputarguments", argnumber);