From: Francesco M. <f18...@ya...> - 2006-03-03 18:30:37
|
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 |