First (failed) attempt at type objects
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 18 Jul 2010 03:54:39 +0000 (04:54 +0100)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Sun, 18 Jul 2010 03:54:39 +0000 (04:54 +0100)
commitc267800a56e1d8866c1ed0f50568e71817e74873
treeac7dffa689cfb67399bbfae82b804433f4da739f
parent5189b1f9b44df586344c30f49548b00c2f1e5c90
First (failed) attempt at type objects

See lib/Ctypes/Type.pm. Tried to use tie'ing for FETCHing and
  STOREing Type values. 2 problems:
  a) trying to encorporate all in same class is complex
  b) FETCH seems to set its tied var to the value returned
Going to try to fix b) by using overloading instead, then look
  at a) again.

modified:   Ctypes.xs
modified:   lib/Ctypes/Type.pm
new file:   t/types.t
Ctypes.xs
lib/Ctypes/Type.pm
t/types.t [new file with mode: 0644]