Handle numeric casting of utf8 chars
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Fri, 6 Aug 2010 13:31:00 +0000 (14:31 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Fri, 6 Aug 2010 13:31:00 +0000 (14:31 +0100)
commit3ba2a9b5b8969896b1a161347471400f0ab2ca8f
tree37a2a98ccb222b22517128ed98bf195226daa12d
parentcd1cec6dda3d48169861bbf3767026857b50c6f7
Handle numeric casting of utf8 chars

Only done for c_int, other numeric types are TODO.
Relies on SvUTF8, which seems only to be set when when 'use utf8'
  in user script. Can't see another way around that...

modified:   Ctypes.xs
modified:   t/types.t
Ctypes.xs
lib/Ctypes/Type.pm
t/types.t