Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://github.com/simgrid/simgrid
[simgrid.git] / src / bindings / lua / lua_utils.h
index 5f9f75f..203c0e4 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2010-2011, 2013-2014. 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. */
@@ -9,6 +8,8 @@
 #ifndef LUA_UTILS_H
 #define LUA_UTILS_H
 
+extern "C" {
+
 #include <lua.h>
 
 /**
@@ -30,4 +31,6 @@ void* sglua_checkudata_debug(lua_State* L, int ud, const char* tname);
 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 */
+}
+
+#endif