X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fq.h;h=d51914b391425928b08f62a58bc1d231e50f256e;hb=49601b1a79d549b1e65462b3abcea3402e66b713;hp=b53044736d5bb5719dd9ea7771ff1252d8e03e9d;hpb=7729deb8d1fe947c8d0af89cb5368c7e0f8e7990;p=swftools.git 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__