summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/log.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/log.h
parent902321537032347de3faca35770fc6804e54b63c (diff)
downloadscilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.gz
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.bz2
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.zip
extern "C" on header
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__ */