File tree Expand file tree Collapse file tree 4 files changed +25
-31
lines changed Expand file tree Collapse file tree 4 files changed +25
-31
lines changed Original file line number Diff line number Diff line change @@ -653,6 +653,20 @@ SvPV_stable_storage(pTHX_ SV *sv, STRLEN *lp)
653
653
MODULE = Cache ::Memcached ::Fast PACKAGE = Cache ::Memcached ::Fast
654
654
655
655
656
+ TYPEMAP : <<TYPEMAP
657
+ Cache_Memcached_Fast * T_CACHE_MEMCACHED_FAST
658
+
659
+ INPUT
660
+ T_CACHE_MEMCACHED_FAST
661
+ $var = INT2PTR ($type , SvIVX (SvRV ($arg )));
662
+
663
+ OUTPUT
664
+ T_CACHE_MEMCACHED_FAST
665
+ sv_setref_pv ($arg , class , (void * ) $var );
666
+
667
+ TYPEMAP
668
+
669
+
656
670
Cache_Memcached_Fast *
657
671
_new (char * class , SV * conf )
658
672
PROTOTYPE : $$
Original file line number Diff line number Diff line change @@ -25,11 +25,18 @@ my %args = (
25
25
},
26
26
},
27
27
},
28
+ BUILD_REQUIRES => {
29
+ ' ExtUtils::ParseXS' => ' 3.12' ; # For embedded typemaps.
30
+ },
28
31
TEST_REQUIRES => {
29
32
' Test2::Suite' => ' 0.000072' , # For Test2::V0.
30
33
},
31
34
);
32
35
36
+ # Merge BUILD_REQUIRES into PREREQ_PM if EU::MM is too old to understand.
37
+ $args {PREREQ_PM } = { %{ $args {PREREQ_PM } }, %{ delete $args {BUILD_REQUIRES } } }
38
+ unless eval { ExtUtils::MakeMaker-> VERSION(' 6.55_03' ) };
39
+
33
40
# Merge TEST_REQUIRES into PREREQ_PM if EU::MM is too old to understand.
34
41
$args {PREREQ_PM } = { %{ $args {PREREQ_PM } }, %{ delete $args {TEST_REQUIRES } } }
35
42
unless eval { ExtUtils::MakeMaker-> VERSION(' 6.64' ) };
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ requires 'Carp' => '1.25'; # For trailing dot.
2
2
requires ' XSLoader' => ' 0.14' ; # For XSLoader::load with no arguments.
3
3
requires ' perl' => ' v5.12' ;
4
4
5
+ on build => sub {
6
+ requires ' ExtUtils::ParseXS' => ' 3.12' ; # For embedded typemaps.
7
+ };
8
+
5
9
on test => sub {
6
10
requires ' Test2::Suite' => ' 0.000072' ; # For Test2::V0.
7
11
};
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments