/* SimGrid Lua bindings */
-#include "lua_private.h"
+#include "lua_private.hpp"
#include "simgrid/s4u/Host.hpp"
extern "C" {
#include <lauxlib.h>
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;
}