projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use sv_true() instead of SvTRUE(), which is too large to inline
[gitmo/Mouse.git]
/
xs-src
/
MouseUtil.xs
diff --git
a/xs-src/MouseUtil.xs
b/xs-src/MouseUtil.xs
index
93160fc
..
b8afb80
100644
(file)
--- a/
xs-src/MouseUtil.xs
+++ b/
xs-src/MouseUtil.xs
@@
-202,8
+202,7
@@
mouse_call1 (pTHX_ SV* const self, SV* const method, SV* const arg1) {
int
mouse_predicate_call(pTHX_ SV* const self, SV* const method) {
- SV* const value = mcall0(self, method);
- return SvTRUE(value);
+ return sv_true( mcall0(self, method) );
}
SV*