[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: tolua and classes in modules
- From: Vasco Lohrenscheit <valoh@...>
- Date: Wed, 04 Jun 2003 15:15:20 +0200
Hello,
I have a problem with tolua and modules. The classes are not exported to
the module table. If i have a .pkg like
module testmodule {
void test();
class testclass {
void testmethod();
};
}
and export it to lua, the function test() is in the table testmodule but
the class testclass is global and not in the testmodule table. If i have
only a class in the .pkg module and export it, there is a table with
modulname, .get and .set both nil and the class is again global. Im using
Lua 4.0.1 and tolua 4.
Any ideas why this happens ?
btw: (When) will there be in updated tolua version for lua5 ?
thanks,
Vasco