Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
minimal fix (hopefully) of lua bindings
[simgrid.git] / src / bindings / lua / lua_host.cpp
index 4d4eac9..9220e67 100644 (file)
@@ -77,7 +77,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);
-  lua_pushstring(L, ht->cname());
+  lua_pushstring(L, ht->getCname());
   return 1;
 }