bool taseditor.registerauto()
| 5062 | |
| 5063 | // bool taseditor.registerauto() |
| 5064 | static int taseditor_registerauto(lua_State *L) |
| 5065 | { |
| 5066 | if (!lua_isnil(L,1)) |
| 5067 | luaL_checktype(L, 1, LUA_TFUNCTION); |
| 5068 | lua_settop(L,1); |
| 5069 | lua_getfield(L, LUA_REGISTRYINDEX, luaCallIDStrings[LUACALL_TASEDITOR_AUTO]); |
| 5070 | lua_insert(L,1); |
| 5071 | lua_setfield(L, LUA_REGISTRYINDEX, luaCallIDStrings[LUACALL_TASEDITOR_AUTO]); |
| 5072 | //StopScriptIfFinished(luaStateToUIDMap[L]); |
| 5073 | return 1; |
| 5074 | } |
| 5075 | |
| 5076 | // bool taseditor.registermanual(string caption) |
| 5077 | static int taseditor_registermanual(lua_State *L) |
nothing calls this directly
no test coverage detected