Re: LuaBind Function Default Values
Julio Cesar Cunha <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
I think that is the solution, but in this way i will redo all. Strange that luabind don't suporte this feature yet, searching on google i found some binds that do that, like toLua++ and Boost:Python. Anyway, Don't rasterbar don't say nothing about this feature? maybe in some future update. 2010/8/30 Tom McCubbin <[email protected]> > Default values are compile time syntactic sugar...you'll need to use some > wrapper facade likely. Maybe inherit and add multiple signatures that > forward to the underlying implementation. Not sure of any slick boost mpl > to get around this :( > > On Aug 30, 2010 4:17 PM, "Julio Cesar Cunha" <[email protected]> wrote: > > <[email protected]>Hello People > > > > > I have a hard problem on my hands, i need to bind some C++ functions and > > some functions have default values, in my test luabind don't bind default > > values. Have some way to put luabind to bind the default values too? > > > > Thanks > > > > -- > > http://wolfnime.com o futuro do anime esta aqui. > > > > ****Eu rejeito a sua Realidade e Substituo pela minha**** > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user > > -- http://wolfnime.com o futuro do anime esta aqui. ****Eu rejeito a sua Realidade e Substituo pela minha**** ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user