summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/includes/log.h')
-rw-r--r--src/elementaryFunctions/includes/log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/log.h b/src/elementaryFunctions/includes/log.h
index 890f8eca..9fb5e75b 100644
--- a/src/elementaryFunctions/includes/log.h
+++ b/src/elementaryFunctions/includes/log.h
@@ -17,6 +17,9 @@
#include "floatComplex.h"
#include "doubleComplex.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
** Compute Logarithm for different types .
*/
@@ -77,5 +80,10 @@ EXTERN_ELEMFUNCT void cloga(floatComplex* in, int size, floatComplex* out);
*/
EXTERN_ELEMFUNCT void zloga(doubleComplex* in, int size, doubleComplex* out);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
#endif /* !__LOG_H__ */