summaryrefslogtreecommitdiff
path: root/regnodes.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 07:23:40 -0600
committerKarl Williamson <khw@cpan.org>2020-11-02 09:36:08 -0700
commit33b570413b33a4dcbfc49adef206bc73cf5db270 (patch)
tree99f9c3921ca0ad10d262cb576671c2924bd1b967 /regnodes.h
parent545bca17887252be0a8b47858d7b93beb30aad40 (diff)
downloadperl-33b570413b33a4dcbfc49adef206bc73cf5db270.tar.gz
Confine regnodes.h symbols to core
This is to not pollute XS namespace, and to not autodoc them.
Diffstat (limited to 'regnodes.h')
-rw-r--r--regnodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/regnodes.h b/regnodes.h
index 2719b8219a..98de0bb733 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -4,6 +4,8 @@
Any changes made here will be lost!
*/
+#if defined(PERL_CORE) || defined(PERL_EXT_RE_BUILD)
+
/* Regops and State definitions */
#define REGNODE_MAX 109
@@ -1767,4 +1769,6 @@ EXTCONST U32 PL_EXACTFish_bitmask = 0x33F8;
EXTCONST U32 PL_EXACT_REQ8_bitmask = 0x1E00;
#endif /* DOINIT */
+#endif /* defined(PERL_CORE) || defined(PERL_EXT_RE_BUILD) */
+
/* ex: set ro: */