projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Checking in changes prior to tagging of version 0.93.
[gitmo/Mouse.git]
/
xs-src
/
MouseUtil.xs
diff --git
a/xs-src/MouseUtil.xs
b/xs-src/MouseUtil.xs
index
8d0c51a
..
3ec7d8c
100644
(file)
--- a/
xs-src/MouseUtil.xs
+++ b/
xs-src/MouseUtil.xs
@@
-323,7
+323,7
@@
mouse_install_sub(pTHX_ GV* const gv, SV* const code_ref) {
if(GvCVu(gv)){ /* delete *slot{gv} to work around "redefine" warning */
SvREFCNT_dec(GvCV(gv));
- GvCV(gv) = NULL;
+ GvCV_set(gv, NULL);
}
sv_setsv_mg((SV*)gv, code_ref); /* *gv = $code_ref */