📄 svpv.t
字号:
################################################################################## !!!!! Do NOT edit this file directly! !!!!!## Edit mktests.PL and/or parts/inc/SvPV instead.## This file was automatically generated from the definition files in the# parts/inc/ subdirectory by mktests.PL. To learn more about how all this# works, please read the F<HACKERS> file that came with this distribution.#################################################################################BEGIN { if ($ENV{'PERL_CORE'}) { chdir 't' if -d 't'; @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext'; require Config; import Config; use vars '%Config'; if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) { print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; exit 0; } } else { unshift @INC, 't'; } sub load { eval "use Test"; require 'testutil.pl' if $@; } if (20) { load(); plan(tests => 20); }}use Devel::PPPort;use strict;$^W = 1;package Devel::PPPort;use vars '@ISA';require DynaLoader;@ISA = qw(DynaLoader);bootstrap Devel::PPPort;package main;my $mhx = "mhx";ok(&Devel::PPPort::SvPVbyte($mhx), 3);my $i = 42;ok(&Devel::PPPort::SvPV_nolen($mhx), $i++);ok(&Devel::PPPort::SvPV_const($mhx), $i++);ok(&Devel::PPPort::SvPV_mutable($mhx), $i++);ok(&Devel::PPPort::SvPV_flags($mhx), $i++);ok(&Devel::PPPort::SvPV_flags_const($mhx), $i++);ok(&Devel::PPPort::SvPV_flags_const_nolen($mhx), $i++);ok(&Devel::PPPort::SvPV_flags_mutable($mhx), $i++);ok(&Devel::PPPort::SvPV_force($mhx), $i++);ok(&Devel::PPPort::SvPV_force_nolen($mhx), $i++);ok(&Devel::PPPort::SvPV_force_mutable($mhx), $i++);ok(&Devel::PPPort::SvPV_force_nomg($mhx), $i++);ok(&Devel::PPPort::SvPV_force_nomg_nolen($mhx), $i++);ok(&Devel::PPPort::SvPV_force_flags($mhx), $i++);ok(&Devel::PPPort::SvPV_force_flags_nolen($mhx), $i++);ok(&Devel::PPPort::SvPV_force_flags_mutable($mhx), $i++);ok(&Devel::PPPort::SvPV_nolen_const($mhx), $i++);ok(&Devel::PPPort::SvPV_nomg($mhx), $i++);ok(&Devel::PPPort::SvPV_nomg_const($mhx), $i++);ok(&Devel::PPPort::SvPV_nomg_const_nolen($mhx), $i++);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -