Andre Arpin <ar...@...> writes: > > in EvaluateExpr > checking for local variables while (!fFound && lua_getstack(L, iLevel++, &ar) != 0) { int iIndex = 0; wxString name = lua2wx(lua_getlocal(L, &ar, ++iIndex)); while(!fFound && !name.IsEmpty()) { if (strExpr == name) { nReference = m_wxlState.wxluaR_Ref(-1, &wxlua_lreg_refs_key); fFound = true; lua_pop(L, 1); break; } lua_pop(L, 1); name = lua2wx(lua_getlocal(L, &ar, ++iIndex)); } } > This is the exact code Andre
------------------------------------------------------------------------------ This SF Dev2Dev email is sponsored by: WikiLeaks The End of the Free Internet http://p.sf.net/sfu/therealnews-com _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users