Codebase list libmouse-perl-upstream / d74d9a0
Merge pull request #113 from atoomic/dppp++ Use Devel-PPPort 3.59 Shohei YOSHIDA authored 3 years ago GitHub committed 3 years ago
6 changed file(s) with 17 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Mouse
11
22 {{$NEXT}}
3 - Use Devel-PPPort 3.59
34
45 v2.5.10 2020-03-28T13:15:57Z
56 - Do not use Fatal (#108)
2626 "prereqs" : {
2727 "configure" : {
2828 "requires" : {
29 "Devel::PPPort" : "3.42",
29 "Devel::PPPort" : "3.59",
3030 "ExtUtils::ParseXS" : "3.22",
3131 "Module::Build" : "0.4005",
3232 "Module::Build::XSUtil" : "0.19",
11 use strict;
22 use warnings;
33 use base qw(Module::Build::XSUtil);
4
5 use Devel::PPPort 3.59;
46
57 sub new {
68 my ($class, %args) = @_;
1010 conflicts 'MouseX::NativeTraits', '< 1.00';
1111
1212 on configure => sub {
13 requires 'Devel::PPPort', '3.42';
13 requires 'Devel::PPPort', '3.59';
1414 requires 'ExtUtils::ParseXS', '3.22';
1515 requires 'Module::Build::XSUtil', '0.19';
1616 # prevent "Mouse::Deprecated does not define $VERSION" error in test under perl 5.8
123123 }
124124 }
125125
126 #if (PERL_BCDVERSION < 0x5014000)
126 #if PERL_VERSION_LT(5,14,0)
127127 /* workaround Perl-RT #69939 */
128128 I32
129129 mouse_call_sv_safe(pTHX_ SV* const sv, I32 const flags) {
134134 SAVEGENERICSV(ERRSV); /* local $@ */
135135 ERRSV = newSV(0);
136136
137 count = Perl_call_sv(aTHX_ sv, flags | G_EVAL);
137 count = call_sv(aTHX_ sv, flags | G_EVAL);
138138
139139 if(sv_true(ERRSV)){
140140 SV* const err = sv_mortalcopy(ERRSV);
00 #ifndef MOUSE_H
11 #define MOUSE_H
22
3 /* used by 'ppport.h' Devel-PPPort */
4 #define NEED_croak_xs_usage
5 #define NEED_gv_fetchpvn_flags
36 #define NEED_mg_findext
4 #define NEED_gv_fetchpvn_flags
7 #define NEED_newSVpvn_flags
8 #define NEED_newSVpvn_share
59 #define NEED_SvRX
6 #define NEED_newSVpvn_flags
10 #define NEED_warner
11 #define NEED_grok_number
12 #define NEED_grok_numeric_radix
13
714 #define PERL_EUPXS_ALWAYS_EXPORT
815
916 #include "xshelper.h"
4653 mouse_throw_error(SV* const metaobject, SV* const data /* not used */, const char* const fmt, ...)
4754 __attribute__format__(__printf__, 3, 4);
4855
49 #if (PERL_BCDVERSION < 0x5014000)
56 #if PERL_VERSION_LT(5,14,0)
5057 /* workaround RT #69939 */
5158 I32
5259 mouse_call_sv_safe(pTHX_ SV*, I32);