MCPcopy Create free account
hub / github.com/TASEmulators/fceux / taseditor_registerauto

Function taseditor_registerauto

src/lua-engine.cpp:5064–5074  ·  view source on GitHub ↗

bool taseditor.registerauto()

Source from the content-addressed store, hash-verified

5062
5063// bool taseditor.registerauto()
5064static 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)
5077static int taseditor_registermanual(lua_State *L)

Callers

nothing calls this directly

Calls 5

luaL_checktypeFunction · 0.85
lua_settopFunction · 0.85
lua_getfieldFunction · 0.85
lua_insertFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected