Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix errors caught by java -Xcheck:jni.
[simgrid.git] / src / bindings / lua / simgrid_lua.h
index 06a9aef..2400d7f 100644 (file)
@@ -4,23 +4,10 @@
 #ifndef SIMGRID_LUA_H
 #define SIMGRID_LUA_H
 
-#include <stdio.h>
-#include <lauxlib.h>
-#include <lualib.h>
-#include "msg/msg.h"
-#include "simdag/simdag.h"
-#include <gras.h>
-#include "xbt.h"
-#include "xbt/dynar.h"
 #include "xbt/dict.h"
-#include "xbt/sysdep.h"
-#include "xbt/function_types.h"
-#include "xbt/log.h"
-#include "surf/surfxml_parse.h"
-#include "surf/surf.h"
-#include <stdarg.h>
-
-extern xbt_dict_t process_function_set;
+#include "xbt/dynar.h"
+#include <lua.h>
+
 extern xbt_dynar_t process_list;
 extern xbt_dict_t machine_set;
 
@@ -39,9 +26,9 @@ void generate_makefile_am(const char *project);
 void generate_makefile_local(const char *project);
 
 /* ********************************************************************************* */
-/*                           Console functions                                       */
+/*                           Plaftorm functions                                      */
 /* ********************************************************************************* */
-// Public Functions
+
 int console_open(lua_State *L);
 int console_close(lua_State *L);