Ctypes::Type::_new simplification: allow init hashref for default values
authorReini Urban <rurban@x-ray.at>
Mon, 17 Jan 2011 18:46:23 +0000 (19:46 +0100)
committerReini Urban <rurban@x-ray.at>
Mon, 17 Jan 2011 18:46:23 +0000 (19:46 +0100)
commit0bef7cb2a8076624d5a057208223db9c59ac9116
tree3ed03fc6b80325c8793ec4965eaedd4e094f9ea9
parent43fd3966e350280b7ce00c896ca4f83a308237d8
Ctypes::Type::_new simplification: allow init hashref for default values
derived types: use it
Simple: use sizecode, packcode and validate defaults (sparse $_types)
lib/Ctypes.pm
lib/Ctypes/Type.pm
lib/Ctypes/Type/Array.pm
lib/Ctypes/Type/Pointer.pm
lib/Ctypes/Type/Simple.pm
lib/Ctypes/Type/Struct.pm