X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4d368893c1c4c43aea93f16c3e519b29b278b693..25a83061ae2c4418c119fb6e47956793183f9c57:/src/bindings/lua/lua_private.h diff --git a/src/bindings/lua/lua_private.h b/src/bindings/lua/lua_private.h index e6b393eedc..63472f0013 100644 --- a/src/bindings/lua/lua_private.h +++ b/src/bindings/lua/lua_private.h @@ -6,8 +6,13 @@ /* 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); @@ -15,3 +20,7 @@ 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 */