lua-users home
lua-l archive

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


Fabian Peña wrote:
try

v = B:new()
..
..


Thanks, I also found that 'B.new' is not correct.

But 'v = A()' is correct lua code (or I'm wrong?),
it triggers the evatuation of the table field '__call'.

So I think there is a bug in the tolua function

TOLUA_API void tolua_set_call_event (tolta_map.c)

which sets the __call field.

Peter