From: John L. <jla...@gm...> - 2006-04-13 00:31:53
|
On 4/12/06, Ray Gilbert <ray...@sc...> wrote: > I was thinking that we could implement function overloading by doing the > following Very cool! Of course we could be lazy and just copy the conventions of wxPython like wxColour(r,g,b) and wxNamedColour(string), but I think this would be very nice. Perhaps the wxLuaArgTag should be the s_wxluatag_XXX so it can check that it's really correct instead of using s_LuaArgTagLightUserData. For generic types like strings just use some global int values "int s_LuaArgTagString =3D 100000000" starting at or something that wouldn't conflict. Do you want to add this yourself? -John Labenski |