Permalink
Browse files

Use Insert instead of DohInsertitem

  • Loading branch information...
1 parent f784d9f commit e9c8e9826051ecf99fcee5bf28a288d704838ee4 @wsfulton wsfulton committed Jun 26, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 Source/Modules/scilab.cxx
@@ -95,21 +95,21 @@ class SCILAB:public Language {
Swig_mark_arg(argIndex);
char *sourceFile = strtok(argv[argIndex + 1], ",");
while (sourceFile != NULL) {
- DohInsertitem(sourceFileList, Len(sourceFileList), sourceFile);
+ Insert(sourceFileList, Len(sourceFileList), sourceFile);
sourceFile = strtok(NULL, ",");
}
Swig_mark_arg(argIndex + 1);
}
} else if (strcmp(argv[argIndex], "-addcflags") == 0) {
Swig_mark_arg(argIndex);
if (argv[argIndex + 1] != NULL) {
- DohInsertitem(cflags, Len(cflags), argv[argIndex + 1]);
+ Insert(cflags, Len(cflags), argv[argIndex + 1]);
Swig_mark_arg(argIndex + 1);
}
} else if (strcmp(argv[argIndex], "-addldflags") == 0) {
Swig_mark_arg(argIndex);
if (argv[argIndex + 1] != NULL) {
- DohInsertitem(ldflags, Len(ldflags), argv[argIndex + 1]);
+ Insert(ldflags, Len(ldflags), argv[argIndex + 1]);
Swig_mark_arg(argIndex + 1);
}
} else if (strcmp(argv[argIndex], "-buildverbositylevel") == 0) {
@@ -816,7 +816,7 @@ class SCILAB:public Language {
}
// Additional sources
- DohInsertitem(sourceFileList, 0, outputFilename);
+ Insert(sourceFileList, 0, outputFilename);
for (int i = 0; i < Len(sourceFileList); i++) {
String *sourceFile = Getitem(sourceFileList, i);
if (i == 0) {

0 comments on commit e9c8e98

Please sign in to comment.