Re: [luabind] Creating instances by C++ of a class defined in lua
Brought to you by:
arvidn,
daniel_wallin
From: Christian <zap...@gm...> - 2004-12-06 12:14:22
|
Hi Arvid! >I haven't tested, but I guess you could do something like: > >using namespace luabind; >object luaclass(get_globals(L)["luaclass"]); > >object my_class = luaclass(); >object my_class2 = luaclass(); That works very well and does now exactly what i need. Thanks a lot for your help! Christian |