This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lose the loose. Fix documentation typo.
[perl5.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)