| 845 | |
| 846 | |
| 847 | LUA_API void lua_setglobal (lua_State *L, const char *name) { |
| 848 | const TValue *G; |
| 849 | lua_lock(L); /* unlock done in 'auxsetstr' */ |
| 850 | G = getGtable(L); |
| 851 | auxsetstr(L, G, name); |
| 852 | } |
| 853 | |
| 854 | |
| 855 | LUA_API void lua_settable (lua_State *L, int idx) { |
no test coverage detected