X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a5846ae0f17bbb8f9a0c907f36f15afa92cf73f..0b57cd385897350c3d6d3fedbc4d44f61f4a9fa3:/src/bindings/lua/lua_comm.c diff --git a/src/bindings/lua/lua_comm.c b/src/bindings/lua/lua_comm.c index f257821aa9..41fc7e6ba1 100644 --- a/src/bindings/lua/lua_comm.c +++ b/src/bindings/lua/lua_comm.c @@ -62,10 +62,10 @@ static int l_comm_wait(lua_State* L) { timeout = luaL_checknumber(L, 2); } /* comm ... */ - MSG_error_t res = MSG_comm_wait(comm, timeout); + msg_error_t res = MSG_comm_wait(comm, timeout); if (res == MSG_OK) { - m_task_t task = MSG_comm_get_task(comm); + msg_task_t task = MSG_comm_get_task(comm); if (MSG_task_get_sender(task) == MSG_process_self()) { /* I'm the sender */ return 0; @@ -111,10 +111,10 @@ static int l_comm_test(lua_State* L) { } else { /* finished but may have failed */ - MSG_error_t res = MSG_comm_get_status(comm); + msg_error_t res = MSG_comm_get_status(comm); if (res == MSG_OK) { - m_task_t task = MSG_comm_get_task(comm); + msg_task_t task = MSG_comm_get_task(comm); if (MSG_task_get_sender(task) == MSG_process_self()) { /* I'm the sender */ lua_pushboolean(L, 1);