| 311 | } |
| 312 | |
| 313 | static int c_lua_getglobal(lua_State* L) { |
| 314 | lua_getglobal(L, lua_tostring(L, 1)); |
| 315 | return 1; |
| 316 | } |
| 317 | |
| 318 | LUA_API int xlua_getglobal (lua_State *L, const char *name) { |
| 319 | lua_pushcfunction(L, c_lua_getglobal); |
nothing calls this directly
no test coverage detected