aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/decContext.h')
-rw-r--r--libdecnumber/decContext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/decContext.h b/libdecnumber/decContext.h
index d6c75f1..ae0ca07 100644
--- a/libdecnumber/decContext.h
+++ b/libdecnumber/decContext.h
@@ -245,6 +245,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "decContextSymbols.h"
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
extern decContext * decContextClearStatus(decContext *, uint32_t);
extern decContext * decContextDefault(decContext *, int32_t);
extern enum rounding decContextGetRounding(decContext *);
@@ -262,4 +266,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
extern uint32_t decContextTestStatus(decContext *, uint32_t);
extern decContext * decContextZeroStatus(decContext *);
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif