equal
deleted
inserted
replaced
130 lua_pushstring (L, "__index"); |
130 lua_pushstring (L, "__index"); |
131 lua_pushvalue (L, -2); |
131 lua_pushvalue (L, -2); |
132 lua_settable (L, -3); |
132 lua_settable (L, -3); |
133 luaL_register (L, NULL, reg_m_lm_handler); |
133 luaL_register (L, NULL, reg_m_lm_handler); |
134 lua_pop (L, 1); |
134 lua_pop (L, 1); |
135 luaL_register (L, "lm.message_handler", reg_f_lm_handler); |
135 lua_newtable (L); // XXX we can specify here exact amount of fields |
|
136 luaL_register (L, NULL, reg_f_lm_handler); |
136 return 1; |
137 return 1; |
137 } |
138 } |
138 |
139 |