From: Arnaud Giersch Date: Tue, 18 Oct 2011 07:40:24 +0000 (+0200) Subject: Guard against multiple inclusion. X-Git-Tag: exp_20120216~555^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5dd395ea626f892c79b526f72192bbf34463e4a3 Guard against multiple inclusion. --- diff --git a/src/bindings/lua/lua_state_cloner.h b/src/bindings/lua/lua_state_cloner.h index 194cbb1c9b..57b859985f 100644 --- a/src/bindings/lua/lua_state_cloner.h +++ b/src/bindings/lua/lua_state_cloner.h @@ -4,6 +4,9 @@ /* 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. */ +#ifndef LUA_STATE_CLONER_H +#define LUA_STATE_CLONER_H + /* SimGrid Lua state management */ #include @@ -11,3 +14,5 @@ int sglua_is_maestro(lua_State* L); lua_State* sglua_get_maestro(void); lua_State* sglua_clone_maestro(void); void sglua_move_value(lua_State* src, lua_State* dst); + +#endif /* LUA_STATE_CLONER_H */ diff --git a/src/bindings/lua/lua_utils.h b/src/bindings/lua/lua_utils.h index 49f8e4d729..a57eebc7bc 100644 --- a/src/bindings/lua/lua_utils.h +++ b/src/bindings/lua/lua_utils.h @@ -6,6 +6,9 @@ /* SimGrid Lua helper functions */ +#ifndef LUA_UTILS_H +#define LUA_UTILS_H + #include /** @@ -24,3 +27,5 @@ const char* sglua_keyvalue_tostring(lua_State* L, int key_index, int value_index void sglua_stack_dump(const char *msg, lua_State* L); const char* sglua_get_spaces(int length); int sglua_memory_writer(lua_State* L, const void* source, size_t size, void* userdata); + +#endif /* LUA_UTILS_H */