projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6ad7799
)
Fix a message
gfx [Mon, 11 Jan 2010 05:40:02 +0000 (14:40 +0900)]
xs-src/Mouse.xs
patch
|
blob
|
blame
|
history
diff --git
a/xs-src/Mouse.xs
b/xs-src/Mouse.xs
index
a7d8dec
..
7800a86
100644
(file)
--- a/
xs-src/Mouse.xs
+++ b/
xs-src/Mouse.xs
@@
-590,10
+590,9
@@
CODE:
AV* demolishall;
I32 len, i;
- PERL_UNUSED_VAR(ix);
-
if(!IsObject(object)){
- croak("You must not call DESTROY as a class method");
+ croak("You must not call %s as a class method",
+ ix == 0 ? "DESTROY" : "DEMOLISHALL");
}
if(SvOK(meta)){