summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/tanh.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/tanh.h
parent902321537032347de3faca35770fc6804e54b63c (diff)
downloadscilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.gz
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.tar.bz2
scilab2c-2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4.zip
extern "C" on header
Diffstat (limited to 'src/elementaryFunctions/includes/tanh.h')
-rw-r--r--src/elementaryFunctions/includes/tanh.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/tanh.h b/src/elementaryFunctions/includes/tanh.h
index 9f3dae52..9ff440cf 100644
--- a/src/elementaryFunctions/includes/tanh.h
+++ b/src/elementaryFunctions/includes/tanh.h
@@ -17,6 +17,9 @@
#include "floatComplex.h"
#include "doubleComplex.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
** Compute Hyperbolic Tangeant for different types .
*/
@@ -77,4 +80,9 @@ EXTERN_ELEMFUNCT void ctanha(floatComplex* in, int size, floatComplex* out);
*/
EXTERN_ELEMFUNCT void ztanha(doubleComplex* in, int size, doubleComplex* out);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+
#endif /* !__TANH_H__ */