summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/round.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/includes/round.h')
-rw-r--r--src/elementaryFunctions/includes/round.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/round.h b/src/elementaryFunctions/includes/round.h
index edb6ee62..1c3c0cea 100644
--- a/src/elementaryFunctions/includes/round.h
+++ b/src/elementaryFunctions/includes/round.h
@@ -17,6 +17,9 @@
#include "floatComplex.h"
#include "doubleComplex.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
round(x) rounds the elements of x to the nearest integers.
*/
@@ -37,5 +40,9 @@ EXTERN_ELEMFUNCT void crounda(floatComplex* in, int size, floatComplex* out);
EXTERN_ELEMFUNCT void zrounda(doubleComplex* in, int size, doubleComplex* out);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* !__ROUND_H__ */