Commit 996e27b
committed
Devel::PPPort: add compatibility entries for the new vstrings
Based on @Leont's comment on #23160.
This seems to produce reasonable results:
tony@venus:.../git/perl6$ cat foo.c
SvVSTRING
tony@venus:.../git/perl6$ ./perl -Ilib dist/Devel-PPPort/ppport.h --nofilter foo.c
Scanning foo.c ...
=== Analyzing foo.c ===
Uses SvVSTRING, which depends on sv_vstring_get, SvVSTRING_mg, mg_find, PERL_MAGIC_vstring, SvMAGICAL
File needs sv_vstring_get, adding static request
Needs to include 'ppport.h'
Analysis completed
Suggested changes:
--- foo.c 2025-04-01 10:51:39.040415623 +1100
+++ foo.c.patched 2025-04-01 10:55:11.347014468 +1100
@@ -1 +1,3 @@
+#define NEED_sv_vstring_get
+#include "ppport.h"
SvVSTRING1 parent ed7c2d1 commit 996e27b
3 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3843 | 3843 | | |
3844 | 3844 | | |
3845 | 3845 | | |
| 3846 | + | |
3846 | 3847 | | |
3847 | 3848 | | |
3848 | 3849 | | |
| |||
4117 | 4118 | | |
4118 | 4119 | | |
4119 | 4120 | | |
| 4121 | + | |
4120 | 4122 | | |
4121 | 4123 | | |
4122 | 4124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments