summaryrefslogtreecommitdiff
path: root/src/matrixOperations/includes/jmat.h
diff options
context:
space:
mode:
authorcornet2009-04-22 05:54:43 +0000
committercornet2009-04-22 05:54:43 +0000
commit879e2ac0a540fa1b199e20d47830aa5eea484a4c (patch)
tree69ef4242aa8ce27332dec2a27f4e7f10a6f9e8fb /src/matrixOperations/includes/jmat.h
parent1811fe5588d0cfbb788ab8f477800af3f45dd710 (diff)
downloadscilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.gz
scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.bz2
scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.zip
build with visual studio (dynamic libraries)
Diffstat (limited to 'src/matrixOperations/includes/jmat.h')
-rw-r--r--src/matrixOperations/includes/jmat.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/matrixOperations/includes/jmat.h b/src/matrixOperations/includes/jmat.h
index b6b0388a..38a8b1e2 100644
--- a/src/matrixOperations/includes/jmat.h
+++ b/src/matrixOperations/includes/jmat.h
@@ -13,7 +13,17 @@
#ifndef __JMAT_H__
#define __JMAT_H__
-void sjmata(float in1, float in2, float* out);
-void djmata(double in1, double in2, double* out);
+#include "dynlib_matrixoperations.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EXTERN_MATOPS void sjmata(float in1, float in2, float* out);
+EXTERN_MATOPS void djmata(double in1, double in2, double* out);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif /* !__JMAT_H__ */