lua-users home
lua-l archive

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


Hallo,

On 8/24/06, Lua <lua@kunz.ca> wrote:

 static void lua_RegisterValues(lua_State*L,const
tExportedNames* pExportedNames)
 {
         while (pExportedNames->pName!=NULL) {
                if (pExportedNames->pSubNames!=NULL) {
                       lua_newtable(L);
                       lua_pushvalue(L,-1);
                  ----********

lua_setfield(L,-3,pExportedNames->pName);


    -3? Is there a table there?

--
-alex
http://www.ventonegro.org/