From: Jason Stewart <jason.stewart@gm...> - 2008-04-14 04:47:29
On 14/04/2008, John Lenz <jlenz2@...> wrote:
> I always thought it would also be nice if the typemaps could be generated
> by python instead of having to use macros. The UTL isn't all that bad of
> an idea, where we write code to produce the %typemap stuff, but the
> problem is it is very convoluted having to use macros, instead of python
> or something. The thing here is that these python scripts do not need any
> API from SWIG, because they just output text. Thus these would have a
> smaller complexity and interdependency than the transformations above.
Although I'm not a great fan of python, I would definately prefer
using python to generate code to the current use of macros for the
UTL. My ability to contribute to SWIG over the last year has been
hampered by my lack of understanding of the incredible complexity of
I would favor such a switch.