File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 22
22
#define NEED_newCONSTSUB
23
23
#define NEED_newSVpvn_flags
24
24
#define NEED_newRV_noinc
25
+ #define NEED_sv_vstring_get
25
26
#include "ppport.h" /* handle old perls */
26
27
27
28
#ifdef DEBUGGING
@@ -296,23 +297,6 @@ typedef STRLEN ntag_t;
296
297
#define VSTRING_CROAK () CROAK(("Cannot retrieve vstring in this perl"))
297
298
#endif
298
299
299
- #ifndef sv_vstring_get
300
- #define sv_vstring_get (sv ,lenp ) S_sv_vstring_get(aTHX_ sv,lenp)
301
- static const char * S_sv_vstring_get (pTHX_ SV * sv , STRLEN * lenp )
302
- {
303
- MAGIC * mg ;
304
- if (!SvMAGICAL (sv ) || !(mg = mg_find (sv , PERL_MAGIC_vstring )))
305
- return NULL ;
306
-
307
- * lenp = mg -> mg_len ;
308
- return mg -> mg_ptr ;
309
- }
310
- #endif
311
-
312
- #ifndef SvVSTRING
313
- #define SvVSTRING (sv ,len ) (sv_vstring_get(sv, &(len)))
314
- #endif
315
-
316
300
#ifdef HvPLACEHOLDERS
317
301
#define HAS_RESTRICTED_HASHES
318
302
#else
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ our @EXPORT_OK = qw(
30
30
our ($canonical , $forgive_me );
31
31
32
32
BEGIN {
33
- our $VERSION = ' 3.36 ' ;
33
+ our $VERSION = ' 3.37 ' ;
34
34
}
35
35
36
36
our $recursion_limit ;
You can’t perform that action at this time.
0 commit comments