diff options
author | rupak | 2019-09-13 14:28:13 +0530 |
---|---|---|
committer | rupak | 2019-09-13 14:28:13 +0530 |
commit | 5389ebb4ebe79b95418d0a3d26c9e091080a2562 (patch) | |
tree | 730c5be02fd02113b38068c946e62e0ac707f33b /thirdparty | |
parent | 74a2b6c725d09877fbc33103454932c4c005a016 (diff) | |
download | fossee-scilab-octave-toolbox-5389ebb4ebe79b95418d0a3d26c9e091080a2562.tar.gz fossee-scilab-octave-toolbox-5389ebb4ebe79b95418d0a3d26c9e091080a2562.tar.bz2 fossee-scilab-octave-toolbox-5389ebb4ebe79b95418d0a3d26c9e091080a2562.zip |
intermediate push for string input
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/linux/include/fun.h | 16 | ||||
-rwxr-xr-x | thirdparty/linux/lib/x64/libfun.so | bin | 2724848 -> 2728112 bytes |
2 files changed, 15 insertions, 1 deletions
diff --git a/thirdparty/linux/include/fun.h b/thirdparty/linux/include/fun.h index b5ec217..9b59492 100644 --- a/thirdparty/linux/include/fun.h +++ b/thirdparty/linux/include/fun.h @@ -1,3 +1,17 @@ #define fun_h__ -extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt); +//extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt); +extern "C" +{ +typedef struct octave_fun +{ + char* name1 = ""; + char* name2 = ""; + double* input1; + int size_input1[2]; + double* output1; + int size_output1[2]; +}octf; + +int fun(octf *inp); +} diff --git a/thirdparty/linux/lib/x64/libfun.so b/thirdparty/linux/lib/x64/libfun.so Binary files differindex 33e7a10..dba701d 100755 --- a/thirdparty/linux/lib/x64/libfun.so +++ b/thirdparty/linux/lib/x64/libfun.so |