This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rename some ExtUtils::ParseXS 'constants'
[perl5.git] / dist / ExtUtils-ParseXS / lib / ExtUtils / ParseXS / Constants.pm
CommitLineData
2e06f601
JK
1package ExtUtils::ParseXS::Constants;
2use strict;
3use warnings;
4use Symbol;
5
6=head1 NAME
7
8ExtUtils::ParseXS::Constants - Initialization values for some globals
9
10=head1 SYNOPSIS
11
12 use ExtUtils::ParseXS::Constants ();
13
0a4f6920 14 $PrototypeRegexp = $ExtUtils::ParseXS::Constants::PrototypeRegexp;
2e06f601
JK
15
16=head1 DESCRIPTION
17
18Initialization of certain non-subroutine variables in ExtUtils::ParseXS and some of its
19supporting packages has been moved into this package so that those values can
20be defined exactly once and then re-used in any package.
21
22Nothing is exported. Use fully qualified variable names.
23
24=cut
25
0a4f6920
S
26# FIXME: THESE ARE NOT CONSTANTS!
27our @InitFileCode;
28our $FH = Symbol::gensym();
29our $Overload = 0;
30our $errors = 0;
31
32our $Fallback = '&PL_sv_undef'; # FIXME Check: Is this a constant?
33
34our $PrototypeRegexp = "[" . quotemeta('\$%&*@;[]_') . "]";
35our @XSKeywords = qw(
ef83c2cf
JK
36 REQUIRE BOOT CASE PREINIT INPUT INIT CODE PPCODE
37 OUTPUT CLEANUP ALIAS ATTRS PROTOTYPES PROTOTYPE
38 VERSIONCHECK INCLUDE INCLUDE_COMMAND SCOPE INTERFACE
39 INTERFACE_MACRO C_ARGS POSTCALL OVERLOAD FALLBACK
40);
2e06f601
JK
41
421;