Commit | Line | Data |
---|---|---|
2e06f601 JK |
1 | package ExtUtils::ParseXS::Constants; |
2 | use strict; | |
3 | use warnings; | |
4 | use Symbol; | |
5 | ||
6 | =head1 NAME | |
7 | ||
8 | ExtUtils::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 | ||
18 | Initialization of certain non-subroutine variables in ExtUtils::ParseXS and some of its | |
19 | supporting packages has been moved into this package so that those values can | |
20 | be defined exactly once and then re-used in any package. | |
21 | ||
22 | Nothing is exported. Use fully qualified variable names. | |
23 | ||
24 | =cut | |
25 | ||
0a4f6920 S |
26 | # FIXME: THESE ARE NOT CONSTANTS! |
27 | our @InitFileCode; | |
0a4f6920 | 28 | |
9c95e74b S |
29 | # Note that to reduce maintenance, $PrototypeRegexp is used |
30 | # by ExtUtils::Typemaps, too! | |
0a4f6920 S |
31 | our $PrototypeRegexp = "[" . quotemeta('\$%&*@;[]_') . "]"; |
32 | our @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 | |
40 | 1; |