lm_connection.c
changeset 16 09b375e9ce32
parent 13 8f502c1477ac
child 19 d775d7289fe4
equal deleted inserted replaced
15:1a5dd51722f5 16:09b375e9ce32
   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