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
move VM into their namespace, and greatly reduce the amount of sg_host_get_name ...
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_host.cpp
diff --git
a/src/bindings/lua/lua_host.cpp
b/src/bindings/lua/lua_host.cpp
index
74d4f82
..
a89c19a
100644
(file)
--- a/
src/bindings/lua/lua_host.cpp
+++ b/
src/bindings/lua/lua_host.cpp
@@
-78,7
+78,7
@@
static int l_host_get_by_name(lua_State * L)
static int l_host_get_name(lua_State * L)
{
sg_host_t ht = sglua_check_host(L, 1);
static int l_host_get_name(lua_State * L)
{
sg_host_t ht = sglua_check_host(L, 1);
- lua_pushstring(L,
sg_host_get_name(ht
));
+ lua_pushstring(L,
ht->cname(
));
return 1;
}
return 1;
}