I can add this after I test it.

Ray

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Labenski
Sent: Thursday, 13 April 2006 10:32
To: wxlua-users@lists.sourceforge.net
Subject: Re: [Wxlua-users] Idea for function overloading

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=k&kid0944&bid$1720&dat1642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


-------------------------------------------------------
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