projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
93fe8a5
)
A tiny tweak
gfx [Thu, 26 Nov 2009 12:45:25 +0000 (21:45 +0900)]
xs-src/MouseAccessor.xs
patch
|
blob
|
blame
|
history
diff --git
a/xs-src/MouseAccessor.xs
b/xs-src/MouseAccessor.xs
index
f93d25f
..
4dd16dd
100644
(file)
--- a/
xs-src/MouseAccessor.xs
+++ b/
xs-src/MouseAccessor.xs
@@
-384,7
+384,8
@@
mouse_instance_set_slot(pTHX_ SV* const instance, SV* const slot, SV* const valu
CHECK_INSTANCE(instance);
he = hv_fetch_ent((HV*)SvRV(instance), slot, TRUE, 0U);
sv = HeVAL(he);
- sv_setsv_mg(sv, value);
+ sv_setsv(sv, value);
+ SvSETMAGIC(sv);
return sv;
}