lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

This is just what I'm looking now. I've some difficulties but I'll try
to play with it.
In fact I want to have the vision of people that use Lua for long ot the
vision of people that have already make implement something with this
kind of consideration.

-----Message d'origine-----
De :
[] De la part de Daniel Wallin
Envoyé : vendredi 15 août 2003 12:44
À : Lua list
Objet : Re: Interaction between Lua / C++

At 12:27 2003-08-15, Jacky Buyck wrote:
>Hi all.
>         I profit of the fact that a therat regarding C+ and Lua have 
>been recently posted to open another one not totally similar but really

>close in my opinion.
>         In fact something disturb me when I look that we integrat 
>directly Lua C API elements in our C++ classes. We see the integration 
>of lua_State directly in our classes definition. Is disturb me because 
>it turn our classes dependant of the Lua system so all our dev will be 
>dependant of it. Of course I know that, during the analyse of the 
>development choice must be made and once they've been made 
>implementation follow.
>         But is there a way to associate Lua system to a classe without

>directly integrate Lua functions in our classes definition ?
>         Is there a way to define an "Interface" classe that take Lua 
>fonctionnality and will be responsible of method to export ?
>Any ideas or advices on this ?

Have you looked at luabind? (

Daniel Wallin