Permalink
Browse files

scilab: fix String & printf previous commit

  • Loading branch information...
1 parent 0e03e22 commit dead560910c32f07720020df90f44d84c28ef533 @smarchetto smarchetto committed Jul 21, 2014
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/Modules/scilab.cxx
@@ -465,10 +465,16 @@ class SCILAB:public Language {
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);

0 comments on commit dead560

Please sign in to comment.