diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fun.cpp | 6 | ||||
-rw-r--r-- | src/fun.o | bin | 4565488 -> 4836152 bytes | |||
-rwxr-xr-x | src/libfun.so | bin | 2855912 -> 2973816 bytes | |||
-rwxr-xr-x | src/testfun | bin | 40960 -> 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){
Binary files differdiff --git a/src/libfun.so b/src/libfun.so Binary files differindex 6c97c22..6dd4f31 100755 --- a/src/libfun.so +++ b/src/libfun.so diff --git a/src/testfun b/src/testfun Binary files differindex 500b639..a31b907 100755 --- a/src/testfun +++ b/src/testfun |