equal
deleted
inserted
replaced
559 lua_pushstring (L, "__index"); |
559 lua_pushstring (L, "__index"); |
560 lua_pushvalue (L, -2); |
560 lua_pushvalue (L, -2); |
561 lua_settable (L, -3); |
561 lua_settable (L, -3); |
562 luaL_register (L, NULL, reg_m_lm_connection); |
562 luaL_register (L, NULL, reg_m_lm_connection); |
563 lua_pop (L, 1); |
563 lua_pop (L, 1); |
564 luaL_register (L, "lm.connection", reg_f_lm_connection); |
564 lua_newtable (L); // XXX we can specify here exact amount of fields |
565 return 1; |
565 luaL_register (L, NULL, reg_f_lm_connection); |
566 } |
566 return 1; |
567 |
567 } |
|
568 |