lua-users home
lua-l archive

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


Stockdale, Daire, SOE wrote:

Is this a known bug or am I doing something stupid? The Lua compiler and console (luac.c and lua.c) code seems to work however it arrives at the index2adr call via a different code path during which the field appears to get correctly initialised.
Quote from Lua 5.1 reference manual:
>These functions are declared in |lualib.h| and should not be called directly: you must call them like >any other Lua C function, e.g., by using |lua_call|.

 Antero Vipunen.