From: Eric W. <scr...@gm...> - 2007-03-18 09:24:13
|
Hi all, I'm still not sure what I'm doing with the declarative syntax, but I'm currently working on a module that will create constructors with 1-2 required parameters, followed by key => value pairs. This is just a dump of the autogenerated pod chunk which will accompany it. http://scratchcomputing.com/tmp/WxPerl-foo.html Basically, I'm tired of looking at '-1,' and 'wxDefaultPosition'. This lets me jump straight to the style parameter. Additionally, the code which does the mapping from names to indices should be useful in something like an xrc replacement where everything is named parameters. Let me know if there's anything glaringly wrong about that chunk of pod. At the moment, the only classes that I'm mapping are the ones that match newFull() in the XS source. The code for this is at: http://scratchcomputing.com/svn/WxPerl-Constructors/trunk/build/xs_proto_map Suggestions welcome. Thanks, Eric -- So malloc calls a timeout and starts rummaging around the free chain, sorting things out, and merging adjacent small free blocks into larger blocks. This takes 3 1/2 days. --Joel Spolsky --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- |