Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make smx_popping_bodies.c parsable by eclipse (kinda)
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 1 Nov 2014 23:11:00 +0000 (00:11 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 1 Nov 2014 23:11:00 +0000 (00:11 +0100)
src/simix/simcalls.py
src/simix/smx_popping_bodies.c

index da4df73..7ebab19 100755 (executable)
@@ -314,5 +314,8 @@ if __name__=='__main__':
   ### smx_popping_bodies.c
   ###
   fd = header('smx_popping_bodies.c')
+  fd.write('#include "smx_private.h"\n')
+  fd.write('#include "mc/mc_interface.h"\n')
+  fd.write('#include "xbt/ex.h"\n')
   handle(fd, Simcall.body, simcalls, simcalls_dict)
   fd.close()
index 292f6ba..1c54dc3 100644 (file)
@@ -13,6 +13,9 @@
  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
  */
 
+#include "smx_private.h"
+#include "mc/mc_interface.h"
+#include "xbt/ex.h"
   
 inline static smx_host_t simcall_BODY_host_get_by_name(const char* name) {
     smx_process_t self = SIMIX_process_self();