A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use msg_task_t instead of m_task_t
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_comm.c
diff --git
a/src/bindings/lua/lua_comm.c
b/src/bindings/lua/lua_comm.c
index
f257821
..
61071b8
100644
(file)
--- a/
src/bindings/lua/lua_comm.c
+++ b/
src/bindings/lua/lua_comm.c
@@
-65,7
+65,7
@@
static int l_comm_wait(lua_State* L) {
MSG_error_t res = MSG_comm_wait(comm, timeout);
if (res == MSG_OK) {
MSG_error_t res = MSG_comm_wait(comm, timeout);
if (res == MSG_OK) {
- m_task_t task = MSG_comm_get_task(comm);
+ m
sg
_task_t task = MSG_comm_get_task(comm);
if (MSG_task_get_sender(task) == MSG_process_self()) {
/* I'm the sender */
return 0;
if (MSG_task_get_sender(task) == MSG_process_self()) {
/* I'm the sender */
return 0;
@@
-114,7
+114,7
@@
static int l_comm_test(lua_State* L) {
MSG_error_t res = MSG_comm_get_status(comm);
if (res == MSG_OK) {
MSG_error_t res = MSG_comm_get_status(comm);
if (res == MSG_OK) {
- m_task_t task = MSG_comm_get_task(comm);
+ m
sg
_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);
if (MSG_task_get_sender(task) == MSG_process_self()) {
/* I'm the sender */
lua_pushboolean(L, 1);