From: Ray G. <ray...@sc...> - 2006-04-13 01:22:33
|
I can add this after I test it. Ray -----Original Message----- From: wxl...@li... [mailto:wxl...@li...] On Behalf Of John Labenski Sent: Thursday, 13 April 2006 10:32 To: wxl...@li... Subject: Re: [Wxlua-users] Idea for function overloading 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 ------------------------------------------------------- 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=3Dk&kid=110944&bid$1720&dat=121642 _______________________________________________ Wxlua-users mailing list Wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |