projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make type check macros
[gitmo/Mouse.git]
/
xs-src
/
MouseUtil.xs
diff --git
a/xs-src/MouseUtil.xs
b/xs-src/MouseUtil.xs
index
6af7e03
..
8289828
100644
(file)
--- a/
xs-src/MouseUtil.xs
+++ b/
xs-src/MouseUtil.xs
@@
-44,7
+44,7
@@
mouse_mro_get_linear_isa(pTHX_ HV* const stash){
avref = POPs;
PUTBACK;
- if(SvROK(avref) && SvTYPE(SvRV(avref)) == SVt_PVAV){
+ if(IsArrayRef(avref)){
AV* const av = (AV*)SvRV(avref);
I32 const len = AvFILLp(av) + 1;
I32 i;