summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordetailer2021-05-11 11:32:12 +0530
committerdetailer2021-05-11 11:32:12 +0530
commita938a95dd5b903f2e1f242e70b9db368ff422f41 (patch)
tree1b25cd27c0a703ba29c7a642cbf3129dab277a01 /src
parentaf570a879a6260bbc4101f020ea0182185ad652a (diff)
downloadfossee-scilab-octave-toolbox-a938a95dd5b903f2e1f242e70b9db368ff422f41.tar.gz
fossee-scilab-octave-toolbox-a938a95dd5b903f2e1f242e70b9db368ff422f41.tar.bz2
fossee-scilab-octave-toolbox-a938a95dd5b903f2e1f242e70b9db368ff422f41.zip
fixed str_count
Diffstat (limited to 'src')
-rw-r--r--src/fun.cpp6
-rw-r--r--src/fun.obin4565488 -> 4836152 bytes
-rwxr-xr-xsrc/libfun.sobin2855912 -> 2973816 bytes
-rwxr-xr-xsrc/testfunbin40960 -> 41304 bytes
4 files changed, 4 insertions, 2 deletions
diff --git a/src/fun.cpp b/src/fun.cpp
index 3f72da8..9017584 100644
--- a/src/fun.cpp
+++ b/src/fun.cpp
@@ -98,17 +98,19 @@ extern "C"
char *c = (char *)inp[l].in_data_real;
//std::cout << "String is: " << c << '\n';
- if (l == 0)
+ if (l == 0){
strcpy(str_fun, c);
+ str_count++;
+ }
else if (l == 1)
{
strcpy(str_pkg, c);
pkg = 1;
+ str_count++;
}
else
in(l - str_count) = c;
- str_count++;
//std::cout << "String is: " << c << '\n';
}
else if (inp[l].type == TYPE_STRUCT){
diff --git a/src/fun.o b/src/fun.o
index 03270cf..372f7ee 100644
--- a/src/fun.o
+++ b/src/fun.o
Binary files differ
diff --git a/src/libfun.so b/src/libfun.so
index 6c97c22..6dd4f31 100755
--- a/src/libfun.so
+++ b/src/libfun.so
Binary files differ
diff --git a/src/testfun b/src/testfun
index 500b639..a31b907 100755
--- a/src/testfun
+++ b/src/testfun
Binary files differ