projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
buildtoc target tweaks.
[p5sagit/p5-mst-13.2.git]
/
xsutils.c
diff --git
a/xsutils.c
b/xsutils.c
index
0f5989b
..
b4161b0
100644
(file)
--- a/
xsutils.c
+++ b/
xsutils.c
@@
-253,6
+253,8
@@
usage:
rv = ST(0);
ST(0) = TARG;
+ if (SvGMAGICAL(rv))
+ mg_get(rv);
if (!(SvOK(rv) && SvROK(rv)))
goto usage;
sv = SvRV(rv);