Fixed returning 3 args from _make_callback
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Thu, 1 Jul 2010 10:13:42 +0000 (11:13 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Thu, 1 Jul 2010 10:13:42 +0000 (11:13 +0100)
commit593f49b2c455c81c06de02f1aca3d254b712d48c
treec9a69bfd7ca2cfbb649dd4038aeccfa1b595f3cc
parent4ea1b64897465734dc7a7e0663659b4c976f0001
Fixed returning 3 args from _make_callback

Returning pcb_data wasn't working without supplying length of
  pointer to newSVpv.
If dumped with Devel::Peek both _executable and _writable look
  like they have the same value back in Perl. Problem?

modified:   Ctypes.xs
modified:   lib/Ctypes/Callback.pm
modified:   lib/Ctypes/Function.pm
modified:   t/callbacks.t
Ctypes.xs
lib/Ctypes/Callback.pm
lib/Ctypes/Function.pm
t/callbacks.t