Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable removing most of mathoms.c and stub functions #22691

Merged
merged 7 commits into from
Oct 28, 2024

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    d69dc19 View commit details
    Browse the repository at this point in the history
  2. regen/embed.pl: Handle m with p flags

    Prior to this commit these were illegal.
    
    This causes embed.fnc to generate macro 'Perl_foo' #defined to be  macro
    'foo'.  If the macro name is all upper case, we instead get macro
    'PERL_FOO' for 'FOO'.  This could be used to easily convert existing
    macros into having long names should some become a name space pollution
    problem.
    
    This also documents in embed.fnc, under the 'm' flag discussion, how to
    use this instead of placing things in mathoms.c, or creating stub
    functions.
    khwilliamson committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    2798138 View commit details
    Browse the repository at this point in the history
  3. Replace two stub functions in utf8.c with macros

    This uses the new mechanism introduced in the previous commit.
    khwilliamson committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    d2371fc View commit details
    Browse the repository at this point in the history
  4. Remove mathoms.c stub Perl_is_utf8_string_loc

    This is now implemented entirely via macros
    khwilliamson committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5a30086 View commit details
    Browse the repository at this point in the history
  5. Remove mathoms.c stub Perl_instr()

    This is now entirely implemented by macros
    khwilliamson committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    597ab48 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36f56cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5664167 View commit details
    Browse the repository at this point in the history