projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
better document how the weakref backrefs array is refcounted
[p5sagit/p5-mst-13.2.git]
/
x2p
/
INTERN.h
diff --git
a/x2p/INTERN.h
b/x2p/INTERN.h
index
539e915
..
2933294
100644
(file)
--- a/
x2p/INTERN.h
+++ b/
x2p/INTERN.h
@@
-9,6
+9,14
@@
#undef EXT
#define EXT
+#ifdef __cplusplus
+# define EXTERN_C extern "C"
+#else
+# ifndef EXTERN_C
+# define EXTERN_C
+# endif
+#endif
+
#undef INIT
#define INIT(x) = x