lua-users home
lua-l archive

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


At First, hi.
I'm new in this mailist, and i allready searched in the archived but i found nothing!
I want to call a funktion of a class, which was created in C++
But toLua, luabind and so can only created classes in LUA. But i can't get access to my classes which i defined in C++.
Is where a way to get access and call a C++ funktion of a class in Lua?
Here as example:
class foo
{
public:
    void call(void);
};
 
foo XY;
 
now in Lua:
XY:call();
 
Is somewhere a way to do this?
 
Cye Jonas