Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to get rid of some old and weird way of doing things for fortran.
[simgrid.git] / include / simdag / datatypes.h
index 8490f8b..571d1aa 100644 (file)
@@ -1,22 +1,2 @@
-#ifndef SIMDAG_DATATYPES_H
-#define SIMDAG_DATATYPES_H
-
-/* Link */
-typedef struct SD_link *SD_link_t;
-
-/* Workstation */
-typedef struct SD_workstation *SD_workstation_t;
-
-/* Task */
-typedef struct SD_task *SD_task_t;
-
-/* Task state */
-typedef enum {
-  SD_NOT_SCHEDULED = 0, /* 0 because SD_NOT_SCHEDULED is not a valid state for SD_watch and SD_unwatch */
-  SD_SCHEDULED =     0x0001,
-  SD_RUNNING =       0x0002,
-  SD_DONE =          0x0004,
-  SD_FAILED =        0x0008 
-} e_SD_task_state_t;
-
-#endif
+#warning You should now include directly simgrid/simdag.h instead of simdag/datatypes.h
+#include "simgrid/simdag.h"