| 664 | |
| 665 | |
| 666 | LUA_API int lua_getglobal (lua_State *L, const char *name) { |
| 667 | const TValue *G; |
| 668 | lua_lock(L); |
| 669 | G = getGtable(L); |
| 670 | return auxgetstr(L, G, name); |
| 671 | } |
| 672 | |
| 673 | |
| 674 | LUA_API int lua_gettable (lua_State *L, int idx) { |
no test coverage detected