equal
deleted
inserted
replaced
168 lua_pushstring (L, "__index"); |
168 lua_pushstring (L, "__index"); |
169 lua_pushvalue (L, -2); |
169 lua_pushvalue (L, -2); |
170 lua_settable (L, -3); |
170 lua_settable (L, -3); |
171 luaL_register (L, NULL, reg_m_lm_proxy); |
171 luaL_register (L, NULL, reg_m_lm_proxy); |
172 lua_pop (L, 1); |
172 lua_pop (L, 1); |
173 luaL_register (L, "lm.proxy", reg_f_lm_proxy); |
173 lua_newtable (L); // XXX we can specify here exact amount of fields |
|
174 luaL_register (L, NULL, reg_f_lm_proxy); |
174 return 1; |
175 return 1; |
175 } |
176 } |
176 |
177 |