Removed _writable attr, store in cb_data_t
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 6 Jul 2010 04:24:47 +0000 (05:24 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 6 Jul 2010 04:24:47 +0000 (05:24 +0100)
commitb5b8eedac08c197dd9143778c7686fa9ae5d5145
treed31432e7f343ebf7433f14e465afda0d501ff31b
parentbb59ca84b110a162f90c4853139ed5719a4de7ce
Removed _writable attr, store in cb_data_t

Allocated ffi_closure (the 'writable' address) now stored in $obj's
cb_data_t struct, exposing less data unnecessarily to Perl-space.

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