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

vutil.c: Use new SvVSTRING() macro #23154

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from

Conversation

leonerd
Copy link
Contributor

@leonerd leonerd commented Mar 24, 2025

The new SvVSTRING macro means callers don't have to be aware of the current (magic-based) implementation of vstrings. When I added it in 80f24f4 I overlooked this file for changes. Here's two more places it should be used from.

  • This set of changes does not require a perldelta entry.

@Leont
Copy link
Contributor

Leont commented Mar 24, 2025

This file's upstream is version.pm, and should not be modified in core.

@Leont
Copy link
Contributor

Leont commented Mar 24, 2025

This file's upstream is version.pm, and should not be modified in core.

Effectively that means SvVSTRING needs to be added to ppport.h first.

@leonerd
Copy link
Contributor Author

leonerd commented Mar 24, 2025

Effectively that means SvVSTRING needs to be added to ppport.h first.

Sounds like something for @khwilliamson then

@Leont Leont added the Closable? We might be able to close this ticket, but we need to check with the reporter label Mar 25, 2025
@leonerd leonerd force-pushed the use-SvVSTRING-in-vutil-c branch from ebed084 to e86607e Compare March 26, 2025 16:07
@Leont
Copy link
Contributor

Leont commented Mar 26, 2025

I think this can be closed, and instead a PR should be opened against version.pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closable? We might be able to close this ticket, but we need to check with the reporter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants