John Labenski ha scritto:
Currently we have a *.cpp for each *.i file and then

wx_builtin.cpp
wx_class.cpp
wx_define.cpp
wx_event.cpp
wx_object.cpp
total: ~200K for all of wxWidgets

for each of the different types of bindings. I think it would make
sense to combine all of these together. Originally wxLua just had a
single 2MB binding file, which was just too large, but by separating
out the .i file code the rest of the glue code is pretty small. It'll
make it easier to understand what's what too.

After the change we'll have
*.i -> *.cpp for the binding code itself
a single header
the glue code file

Any objections? If not then I'll get to this on the weekend.
I think it's a good idea since many of these wx_*.cpp are very little; merging them should just make wxLua look cleaner ;)

Francesco



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to