Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Update TODO for simgrid::simix::Future
[simgrid.git] / include / simgrid / datatypes.h
index f93f536..dd73424 100644 (file)
@@ -7,7 +7,9 @@
 #ifndef SIMGRID_DATATYPES_H_
 #define SIMGRID_DATATYPES_H_
 
-typedef struct vm_params {
+#include <simgrid/forward.h>
+
+struct vm_params {
   int ncpus;
   sg_size_t ramsize;
   int overcommit;
@@ -24,6 +26,8 @@ typedef struct vm_params {
 
   /* set migration speed */
   double mig_speed;
-} s_vm_params_t, *vm_params_t;
+};
+typedef struct vm_params  s_vm_params_t;
+typedef struct vm_params* vm_params_t;
 
 #endif /* SIMGRID_DATATYPES_H_ */