From 2e7a35e6eb79d0fe2c7017ee3e0a14ea082d86c4 Mon Sep 17 00:00:00 2001 From: cornet Date: Wed, 22 Apr 2009 06:43:20 +0000 Subject: extern "C" on header --- src/elementaryFunctions/includes/int.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/elementaryFunctions/includes/int.h') diff --git a/src/elementaryFunctions/includes/int.h b/src/elementaryFunctions/includes/int.h index 6614fcfe..53985887 100644 --- a/src/elementaryFunctions/includes/int.h +++ b/src/elementaryFunctions/includes/int.h @@ -17,6 +17,9 @@ #include "floatComplex.h" #include "doubleComplex.h" +#ifdef __cplusplus +extern "C" { +#endif /* int(X) returns the integer part of the real matrix X. Same as fix. */ @@ -37,5 +40,10 @@ EXTERN_ELEMFUNCT void cinta(floatComplex* in, int size, floatComplex* out); EXTERN_ELEMFUNCT void zinta(doubleComplex* in, int size, doubleComplex* out); +#ifdef __cplusplus +} /* extern "C" */ +#endif + + #endif /* !__INT_H__ */ -- cgit