On 4/12/06, Ray Gilbert <[EMAIL PROTECTED]> 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 = 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=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to