lua-users home
lua-l archive

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


2013/4/21 Dirk Laurie <dirk.laurie@gmail.com>:
> 2013/4/21 Dirk Laurie <dirk.laurie@gmail.com>:
>> 2013/4/21 Dirk Laurie <dirk.laurie@gmail.com>:
>>> Sorry, hit the sent button too soon.

And again. Should have slept late instead of getting up early
on a Sunday morning.

The point of the previous post should have been that Lua
startup code is not what triggers the bug detector. It is
triggered by the C code itself in "lua_setglobal(L,"X");"

This is something I did not know: that the C API can be
that aware of something done in the calling Lua program.
Setting a metatable hooks in very low down!