More new tests (c_byte, c_ubyte)
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 17 Oct 2010 08:51:32 +0000 (09:51 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 17 Oct 2010 08:51:32 +0000 (09:51 +0100)
commit3e41f89247a38159649721f61f1747a86cd5fa31
tree50e59a67562093ec414cafdcd889c9756542e9e7
parent3c895e3b5cdce6dfe94c4211f28168aacf757366
More new tests (c_byte, c_ubyte)

New XS function (Ctypes::Test::is_a_number) which simply checks
the SvIOK($arg) || SvNOK($arg). Will probably encounter the
same problem later about the values returned by Ctypes objects
not having the public flags set, but that's a problem with the
output so should be fixed at that point.

modified:   Ctypes.xs
modified:   lib/Ctypes/Type.pm
modified:   lib/Ctypes/Type/Simple.pm
modified:   t/Simple_byte.t
new file:   t/Simple_char.t
new file:   t/Simple_ubyte.t
Ctypes.xs
lib/Ctypes/Type.pm
lib/Ctypes/Type/Simple.pm
t/Simple_byte.t
t/Simple_char.t [new file with mode: 0644]
t/Simple_ubyte.t [new file with mode: 0644]