summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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