Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename smx_process_t to smx_actor_t
[simgrid.git] / src / include / mc / datatypes.h
index bb32dba..54c004d 100644 (file)
 #include <src/internal_config.h>
 #include <xbt/base.h>
 
-#ifdef HAVE_UCONTEXT_H
+#if HAVE_UCONTEXT_H
 #include <ucontext.h>           /* context relative declarations */
 #endif
 
 SG_BEGIN_DECL()
 
-typedef struct s_mc_transition *mc_transition_t;
-
-typedef struct s_stack_region{
+struct s_stack_region{
   void *address;
-#ifdef HAVE_UCONTEXT_H
+#if HAVE_UCONTEXT_H
   ucontext_t* context;
 #endif
   size_t size;
   int block;
   int process_index;
-}s_stack_region_t, *stack_region_t;
+};
+typedef struct s_stack_region  s_stack_region_t;
+typedef struct s_stack_region* stack_region_t;
 
 SG_END_DECL()