-/* Copyright (c) 2010, 2012-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* SimGrid Lua bindings */
#include "lua_private.h"
-#include <simgrid/host.h>
+#include "simgrid/s4u/Host.hpp"
extern "C" {
#include <lauxlib.h>
}
if (pi == nullptr)
XBT_ERROR("luaL_checkudata() returned nullptr");
sg_host_t ht = *pi;
- if (!ht)
+ if (not ht)
luaL_error(L, "null Host");
return ht;
}