summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/log1p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/elementaryFunctions/includes/log1p.h')
-rw-r--r--src/elementaryFunctions/includes/log1p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/log1p.h b/src/elementaryFunctions/includes/log1p.h
index 82ba3008..58b93d07 100644
--- a/src/elementaryFunctions/includes/log1p.h
+++ b/src/elementaryFunctions/includes/log1p.h
@@ -17,6 +17,9 @@
#include "floatComplex.h"
#include "doubleComplex.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
** Compute Logarithm for different types .
*/
@@ -77,5 +80,9 @@ EXTERN_ELEMFUNCT void clog1pa(floatComplex* in, int size, floatComplex* out);
*/
EXTERN_ELEMFUNCT void zlog1pa(doubleComplex* in, int size, doubleComplex* out);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* !__LOG1P_H__ */