summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-12 06:43:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-12 06:43:03 +0000
commit73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6 (patch)
treed12e2ac03334a26b273c7b91e41aba6df9cfc33f /opcode.h
parent22b491d3a115964a8dde699347569bf3176f8b1a (diff)
downloadperl-73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6.tar.gz
EXTERN_C declarations for global arrays in various
headers, so perl can be built even in C++ mode; win32 build fixups; regen headers p4raw-id: //depot/perl@3537
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/opcode.h b/opcode.h
index 370fb6a705..20ec044441 100644
--- a/opcode.h
+++ b/opcode.h
@@ -357,6 +357,9 @@ typedef enum {
#define MAXO 348
+
+START_EXTERN_C
+
#ifndef DOINIT
EXT char *PL_op_name[];
#else
@@ -1067,6 +1070,8 @@ EXT char *PL_op_desc[] = {
};
#endif
+END_EXTERN_C
+
#ifndef PERL_OBJECT
START_EXTERN_C
@@ -1081,6 +1086,8 @@ START_EXTERN_C
END_EXTERN_C
#endif /* PERL_OBJECT */
+START_EXTERN_C
+
#ifndef DOINIT
EXT OP * (CPERLscope(*PL_ppaddr)[])(pTHX);
#else
@@ -2145,3 +2152,5 @@ EXT U32 PL_opargs[] = {
0x00000044, /* threadsv */
};
#endif
+
+END_EXTERN_C