Changeset 1206
- Timestamp:
- 03/05/2010 03:27:45 PM (6 months ago)
- Files:
-
- 1 modified
-
Trunk/src/LuaEngine/LUAEngine.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Trunk/src/LuaEngine/LUAEngine.cpp
r1205 r1206 249 249 int top = lua_gettop(lu); 250 250 if(strcmp(luaL_typename(lu,top-params),"function") ) 251 { 251 252 ret = false; 253 //Paroxysm : Stack Cleaning here, not sure what causes that crash in luaH_getstr, maybe due to lack of stack space. Anyway, experimental. 254 if(params > 0) 255 { 256 for(int i = top; i >= (top-params); i--) 257 { 258 if(!lua_isnone(lu,i) ) 259 lua_remove(lu,i); 260 } 261 } 262 } 252 263 else 253 264 {
![(please configure the [header_logo] section in trac.ini)](/trac/arcscripts/chrome/site/your_project_logo.png)