summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/floor.h
diff options
context:
space:
mode:
authorcornet2009-04-22 06:43:20 +0000
committercornet2009-04-22 06:43:20 +0000
commit2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4 (patch)
tree93866ad7795127bf2a1aacaaa9368643a8b4cafe /src/elementaryFunctions/includes/floor.h
parent902321537032347de3faca35770fc6804e54b63c (diff)
downloadscilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.gz
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.bz2
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.zip
extern "C" on header
Diffstat (limited to 'src/elementaryFunctions/includes/floor.h')
-rw-r--r--src/elementaryFunctions/includes/floor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/floor.h b/src/elementaryFunctions/includes/floor.h
index a3de3717..971cdf65 100644
--- a/src/elementaryFunctions/includes/floor.h
+++ b/src/elementaryFunctions/includes/floor.h
@@ -17,6 +17,9 @@
#include "floatComplex.h"
#include "doubleComplex.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
floor(x) returns an integer matrix made of nearest rounded down integers.
*/
@@ -37,5 +40,10 @@ EXTERN_ELEMFUNCT void cfloora(floatComplex* in, int size, floatComplex* out);
EXTERN_ELEMFUNCT void zfloora(doubleComplex* in, int size, doubleComplex* out);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
#endif /* !__FLOOR_H__ */