| 70 | #if LUA_VERSION_NUM == 501 |
| 71 | #undef lua_getglobal |
| 72 | LUA_API int lua_getglobal (lua_State *L, const char *name) { |
| 73 | lua_getfield(L, LUA_GLOBALSINDEX, name); |
| 74 | return 0; |
| 75 | } |
| 76 | |
| 77 | #undef lua_setglobal |
| 78 | LUA_API void lua_setglobal (lua_State *L, const char *name) { |
no test coverage detected