From: kramm Date: Tue, 6 May 2003 11:59:29 +0000 (+0000) Subject: added __cplusplus extern "C". X-Git-Tag: release-0-5-0~236 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=c3ba00bf3f3b125ed9885e6f9639ae4fd02506ed added __cplusplus extern "C". --- diff --git a/lib/q.h b/lib/q.h index b530447..d51914b 100644 --- a/lib/q.h +++ b/lib/q.h @@ -12,6 +12,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* dynamically growing mem section */ typedef struct _mem_t { char*buffer; @@ -98,4 +102,8 @@ void qfree_internal(void*old); #define qrealloc(old, len) qmalloc_internal(old, len) #define qfree(old) qmalloc_internal(old) +#ifdef __cplusplus +} +#endif + #endif //__q_h__