Multidimensional arrays
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 10 Aug 2010 02:28:40 +0000 (03:28 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 10 Aug 2010 02:28:40 +0000 (03:28 +0100)
commitedfba04566948a354ca209d192207d2270145904
tree7ec3a2eaa43e5102823832380f426ca0e48eac2e
parentc02743311f428e08bef4ba20f3dbfaa2eb66e8fb
Multidimensional arrays

Implementing this involved a lot of backtracking and fleshing out
ideas half-implemented before, like the _as_param_ method thing.
All types including arrays must now have an _as_param_ method,
an _update_ method, and a _typecode_. In Ctypes types these are
woven in with FETCH and STORE, but using this standard we *should*
be able to work with user-defined types in calling Functions, etc.

Full write up to follow: API description in docs, technical detail
in blog post.

modified:   Ctypes.xs
modified:   lib/Ctypes/Type.pm
modified:   lib/Ctypes/Type/Array.pm
modified:   t/Array.t
modified:   t/types.t
Ctypes.xs
lib/Ctypes/Type.pm
lib/Ctypes/Type/Array.pm
t/Array.t
t/types.t