/* SimGrid Lua bindings */
-#include "simgrid_lua.h"
+#ifndef LUA_PRIVATE_H
+#define LUA_PRIVATE_H
+
#include "simgrid/msg.h"
+#include "simgrid_lua.h"
+
+extern "C" {
void sglua_register_host_functions(lua_State* L);
msg_host_t sglua_check_host(lua_State* L, int index);
void sglua_register_platf_functions(lua_State* L);
const char* sglua_get_msg_error(msg_error_t err);
+
+}
+
+#endif /* LUA_PRIVATE_H */