summaryrefslogtreecommitdiff
path: root/thirdparty/linux/include/fun.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/linux/include/fun.h')
-rw-r--r--thirdparty/linux/include/fun.h16
1 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);
+}