diff options
Diffstat (limited to 'ctr.h')
-rw-r--r-- | ctr.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -29,6 +29,10 @@ #include "nettle-types.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Name mangling */ #define ctr_crypt nettle_ctr_crypt @@ -51,4 +55,8 @@ memcpy((ctx)->ctr, (data), sizeof((ctx)->ctr)) sizeof((self)->ctr), (self)->ctr, \ (length), (dst), (src))) +#ifdef __cplusplus +} +#endif + #endif /* NETTLE_CTR_H_INCLUDED */ |