diff options
Diffstat (limited to 'common/lz.h')
-rw-r--r-- | common/lz.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/lz.h b/common/lz.h index 993609f2..472e34dd 100644 --- a/common/lz.h +++ b/common/lz.h @@ -10,6 +10,10 @@ #include "lz_config.h" #include "draw.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef void *LzContext; typedef struct LzUsrContext LzUsrContext; @@ -71,5 +75,8 @@ LzContext *lz_create(LzUsrContext *usr); void lz_destroy(LzContext *lz); +#ifdef __cplusplus +} +#endif #endif // __LZ_H |