Fixed ::new, created ::update
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 20 Jun 2010 03:52:02 +0000 (04:52 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 20 Jun 2010 03:52:02 +0000 (04:52 +0100)
commitd656d9c92e80c1ea3ac3800ec23ccbad39e8ef35
treec04b7932a69ef645511abb7f127effad176f7738
parent95d9eb6b36848286fb17278f5f908d135e599846
Fixed ::new, created ::update

Realised ::new wasn't putting $func back in the object hash: all
local vars changed to references.

Created update function for resetting Function's name, sig, abi &
rtype all at once. Wrote it in _call then realised it was wrong
there, but thought it might be useful.

modified:   lib/Ctypes/Function.pm
modified:   t/002-Function.t
lib/Ctypes/Function.pm
t/002-Function.t