Commit 0a223ec
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 97a762d commit 0a223ec
3 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3838 | 3838 | | |
3839 | 3839 | | |
3840 | 3840 | | |
| 3841 | + | |
3841 | 3842 | | |
3842 | 3843 | | |
3843 | 3844 | | |
| |||
4112 | 4113 | | |
4113 | 4114 | | |
4114 | 4115 | | |
| 4116 | + | |
4115 | 4117 | | |
4116 | 4118 | | |
4117 | 4119 | | |
| |||
| 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