summaryrefslogtreecommitdiff
path: root/feature.h
Commit message (Collapse)AuthorAgeFilesLines
* use VERSION needs to enable uni8bit hintFather Chrysostomos2011-12-241-0/+4
|
* Make MAX_FEATURE_LEN reflect realityFather Chrysostomos2011-12-241-1/+1
| | | | | unicode_strings was not the longest string. We can determine it auto- matically, now that this macro is in a generated file.
* feature.h: FEATURE_IS_ENABLED can use CURRENT_HINTSFather Chrysostomos2011-12-241-1/+1
|
* feature.h: Function for enabling bundlesFather Chrysostomos2011-12-241-0/+21
|
* Move FEATURE_IS_ENABLED to feature.hFather Chrysostomos2011-12-241-0/+7
| | | | | It makes little sense to have it in perl.h any more. (Until recently, feature.h didn’t exist.)
* Eliminate ‘negative’ featuresFather Chrysostomos2011-12-241-1/+1
| | | | | | Now that we have hints in $^H to indicate the default feature bun- dle, there is no need for entries in %^H that turn features off by their presence.
* feature.h: Avoid compiler warningFather Chrysostomos2011-12-241-2/+1
| | | | unsigned >= 0 produces a warning, even if the 0 is actually a macro.
* Add macros for checking individual featuresFather Chrysostomos2011-12-241-0/+62
|
* feature.h: Add macros for current hintsFather Chrysostomos2011-12-241-0/+4
| | | | | | | | | CURRENT_HINTS is not specific to features, but for now will be used by nothing else. It returns the compile-time or run-time hints, depend- ing on whether PL_curcop points to &PL_compiling. CURRENT_FEATURE_BUNDLE extracts the feature bundle number from the current hints.
* feature.h: Parenthesise macro definitionFather Chrysostomos2011-12-241-1/+1
|
* Add feature.h, with constants for feature bundlesFather Chrysostomos2011-12-241-0/+20