1 ################################################################################
3 # !!!!! Do NOT edit this file directly! !!!!!
5 # Edit mktests.PL and/or parts/inc/uv instead.
7 # This file was automatically generated from the definition files in the
8 # parts/inc/ subdirectory by mktests.PL. To learn more about how all this
9 # works, please read the F<HACKERS> file that came with this distribution.
11 ################################################################################
14 if ($ENV{'PERL_CORE'}) {
16 @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext';
17 require Config; import Config;
19 if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) {
20 print "1..0 # Skip -- Perl configured without Devel::PPPort module\n";
30 require 'testutil.pl' if $@;
43 package Devel::PPPort;
46 @ISA = qw(DynaLoader);
47 bootstrap Devel::PPPort;
51 ok(&Devel::PPPort::sv_setuv(42), 42);
52 ok(&Devel::PPPort::newSVuv(123), 123);
53 ok(&Devel::PPPort::sv_2uv("4711"), 4711);
54 ok(&Devel::PPPort::sv_2uv("1735928559"), 1735928559);
55 ok(&Devel::PPPort::SvUVx("1735928559"), 1735928559);
56 ok(&Devel::PPPort::SvUVx(1735928559), 1735928559);
57 ok(&Devel::PPPort::SvUVx(0xdeadbeef), 0xdeadbeef);
58 ok(&Devel::PPPort::XSRETURN_UV(), 42);
59 ok(&Devel::PPPort::PUSHu(), 42);
60 ok(&Devel::PPPort::XPUSHu(), 43);