From b2428e22971105dc37d50bc254d02bb55d518965 Mon Sep 17 00:00:00 2001 From: coldpeace Date: Wed, 7 Apr 2010 07:50:00 +0000 Subject: [PATCH] git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7450 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/bindings/lua/simgrid_lua.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index c68ee537db..07832fc424 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -282,24 +282,11 @@ static int Host_number(lua_State *L) { return 1; } -static int Host_table(lua_State *L) -{ - // FIXME - int nb = MSG_get_host_number(); - m_host_t *msg_hosts = MSG_get_host_table(); - m_host_t *lua_hosts = (m_host_t*)lua_newuserdata(L,sizeof(m_host_t)*nb); - *lua_hosts = msg_hosts; - - lua_newtable (L); - // TODO : fill the table