Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move parts of the kernel to the right subdir
[simgrid.git] / src / bindings / lua / lua_utils.h
index 5f9f75f..2eea739 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef LUA_UTILS_H
 #define LUA_UTILS_H
 
+extern "C" {
+
 #include <lua.h>
 
 /**
@@ -30,4 +32,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 */