summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal32.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/dpd/decimal32.h')
-rw-r--r--libdecnumber/dpd/decimal32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/dpd/decimal32.h b/libdecnumber/dpd/decimal32.h
index ced33efc1f3..94ddeb80f3f 100644
--- a/libdecnumber/dpd/decimal32.h
+++ b/libdecnumber/dpd/decimal32.h
@@ -77,6 +77,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "decimal32Symbols.h"
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
/* String conversions */
decimal32 * decimal32FromString(decimal32 *, const char *, decContext *);
char * decimal32ToString(const decimal32 *, char *);
@@ -91,4 +95,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
uint32_t decimal32IsCanonical(const decimal32 *);
decimal32 * decimal32Canonical(decimal32 *, const decimal32 *);
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif