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
/
EXTERN.h
diff --git
a/x2p/EXTERN.h
b/x2p/EXTERN.h
index
c82736e
..
dcc1b24
100644
(file)
--- a/
x2p/EXTERN.h
+++ b/
x2p/EXTERN.h
@@
-9,6
+9,12
@@
#undef EXT
#define EXT extern
+#ifdef __cplusplus
+# define EXTERN_C extern "C"
+#else
+# define EXTERN_C extern
+#endif
+
#undef INIT
#define INIT(x)