From: gfx Date: Mon, 17 Aug 2009 04:15:39 +0000 (+0900) Subject: tiny tweaks X-Git-Tag: 0.92_01~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b1f957d2eb38cefffa89eb67f39c90c64ad28080;p=gitmo%2FClass-MOP.git tiny tweaks --- diff --git a/xs/Package.xs b/xs/Package.xs index acfeb4c..4e7087d 100644 --- 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()");