diff options
Diffstat (limited to 'libdecnumber/decQuad.h')
-rw-r--r-- | libdecnumber/decQuad.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/decQuad.h b/libdecnumber/decQuad.h index c8ec11cc016..42d9547578a 100644 --- a/libdecnumber/decQuad.h +++ b/libdecnumber/decQuad.h @@ -90,6 +90,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "decQuadSymbols.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Utilities and conversions, extractors, etc.) */ extern decQuad * decQuadFromBCD(decQuad *, int32_t, const uint8_t *, int32_t); extern decQuad * decQuadFromInt32(decQuad *, int32_t); @@ -180,4 +184,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define decQuadToNumber(dq, dn) decimal128ToNumber((decimal128 *)(dq), dn) #define decQuadFromNumber(dq, dn, set) (decQuad *)decimal128FromNumber((decimal128 *)(dq), dn, set) +#ifdef __cplusplus +} +#endif + #endif |