git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d7c72
)
added __cplusplus extern "C".
author
kramm
<kramm>
Tue, 6 May 2003 11:59:29 +0000
(11:59 +0000)
committer
kramm
<kramm>
Tue, 6 May 2003 11:59:29 +0000
(11:59 +0000)
lib/q.h
patch
|
blob
|
history
diff --git
a/lib/q.h
b/lib/q.h
index
b530447
..
d51914b
100644
(file)
--- a/
lib/q.h
+++ b/
lib/q.h
@@
-12,6
+12,10
@@
#include <stdio.h>
+#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__