| 49 | } |
| 50 | |
| 51 | static int HotReload(lua_State* L) |
| 52 | { |
| 53 | #if UNLUA_WITH_HOT_RELOAD |
| 54 | luaL_loadstring(L, "require('UnLua.HotReload').reload(...)"); |
| 55 | lua_insert(L, 1); |
| 56 | lua_pcall(L, lua_gettop(L)-1, LUA_MULTRET, 0); |
| 57 | #endif |
| 58 | return 0; |
| 59 | } |
| 60 | |
| 61 | static int Ref(lua_State* L) |
| 62 | { |
no test coverage detected