| 839 | |
| 840 | |
| 841 | LUA_API void lua_setglobal (lua_State *L, const char *name) { |
| 842 | const TValue *G; |
| 843 | lua_lock(L); /* unlock done in 'auxsetstr' */ |
| 844 | G = getGtable(L); |
| 845 | auxsetstr(L, G, name); |
| 846 | } |
| 847 | |
| 848 | |
| 849 | LUA_API void lua_settable (lua_State *L, int idx) { |
no test coverage detected