projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c8fd7a1
)
tiny tweaks
gfx [Mon, 17 Aug 2009 04:15:39 +0000 (13:15 +0900)]
xs/Package.xs
patch
|
blob
|
blame
|
history
diff --git
a/xs/Package.xs
b/xs/Package.xs
index
acfeb4c
..
4e7087d
100644
(file)
--- a/
xs/Package.xs
+++ b/
xs/Package.xs
@@
-382,7
+382,7
@@
PREINIT:
GV* gv;
SV* sv;
CODE:
- { /* parse options */
+ if(items > 2){ /* parse options */
I32 i;
if((items % 2) != 0){
croak("Odd number of arguments for get_package_symbol()");