Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define a 'v' flag in embed.fnc which says that a variadic macro shall…
… be emitted condtionally It would be dangerous to always emit these for existing macros, as alluded to by the commit message in 13e5ba4 > Unfortunately we can't just emit them unconditionally, because much > existing CPAN code exists that thinks it can call e.g. `warn()` without > an aTHX_ in scope (because they don't #define PERL_NO_GET_CONTEXT). > > Therefore, we have to guard these new macro forms by > > ... || defined(PERL_CORE) > > and continue to emit the "..._nocontext()" variants at the end of the > file, as we previously did. This new flag defined on existing functions preserves this backward compatbility but allows newly-added macros to be emitted as we'd like by just omitting that flag.
- Loading branch information
Showing
4 changed files
with
60 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters