#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* dynamically growing mem section */
typedef struct _mem_t {
char*buffer;
#define qrealloc(old, len) qmalloc_internal(old, len)
#define qfree(old) qmalloc_internal(old)
+#ifdef __cplusplus
+}
+#endif
+
#endif //__q_h__