This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
New XS keyword: EXPORT_XSUB_SYMBOLS
[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
SM
26# FIXME: THESE ARE NOT CONSTANTS!
27our @InitFileCode;
0a4f6920 28
9c95e74b
SM
29# Note that to reduce maintenance, $PrototypeRegexp is used
30# by ExtUtils::Typemaps, too!
0a4f6920
SM
31our $PrototypeRegexp = "[" . quotemeta('\$%&*@;[]_') . "]";
32our @XSKeywords = qw(
ef83c2cf
JK
33 REQUIRE BOOT CASE PREINIT INPUT INIT CODE PPCODE
34 OUTPUT CLEANUP ALIAS ATTRS PROTOTYPES PROTOTYPE
35 VERSIONCHECK INCLUDE INCLUDE_COMMAND SCOPE INTERFACE
36 INTERFACE_MACRO C_ARGS POSTCALL OVERLOAD FALLBACK
948e9987 37 EXPORT_XSUB_SYMBOLS
ef83c2cf 38);
2e06f601
JK
39
401;