Created some Perl-side type checking for numeric args
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Thu, 17 Jun 2010 02:16:14 +0000 (03:16 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Thu, 17 Jun 2010 02:16:14 +0000 (03:16 +0100)
commit8e57aa0bd69b0606eefbb25b8328eeededdc9b7e
treedc19efbbbac527e4c23bd18a8eabe8856dc3d323
parentcc8056fcbcb4235386a79ae49012e433532e84a5
Created some Perl-side type checking for numeric args

Simple effect of calling ord() on a string passed where an 'i'
argtype has been specified. Should probably warn about that.
Should this be done in C instead?

modified:   Ctypes.xs
modified:   lib/Ctypes.pm
modified:   t/001-math.t
Ctypes.xs
lib/Ctypes.pm
t/001-math.t