diff options
Diffstat (limited to 'libdecnumber/decSingle.h')
-rw-r--r-- | libdecnumber/decSingle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/decSingle.h b/libdecnumber/decSingle.h index 3e5cc788d1a..dc58ab44386 100644 --- a/libdecnumber/decSingle.h +++ b/libdecnumber/decSingle.h @@ -67,6 +67,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "decSingleSymbols.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Utilities (binary argument(s) or result, extractors, etc.) */ extern decSingle * decSingleFromBCD(decSingle *, int32_t, const uint8_t *, int32_t); extern decSingle * decSingleFromPacked(decSingle *, int32_t, const uint8_t *); @@ -95,4 +99,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define decSingleToNumber(dq, dn) decimal32ToNumber((decimal32 *)(dq), dn) #define decSingleFromNumber(dq, dn, set) (decSingle *)decimal32FromNumber((decimal32 *)(dq), dn, set) +#ifdef __cplusplus +} +#endif + #endif |