Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change TCP_gamma to not be a compilation-time #define, but a command line option
[simgrid.git] / src / xbt / xbt_context_private.h
index 5a95349..7527119 100644 (file)
@@ -33,23 +33,23 @@ SG_BEGIN_DECL()
 
 /* each context type must contain this macro at its begining -- OOP in C :/ */
 #define XBT_CTX_BASE_T \
-       s_xbt_swag_hookup_t hookup; \
-       char *name; \
-       void_f_pvoid_t cleanup_func; \
-       void *cleanup_arg; \
-       ex_ctx_t *exception; \
-       int iwannadie; \
-       xbt_main_func_t code; \
-       int argc; \
-       char **argv; \
-       void_f_pvoid_t startup_func; \
-       void *startup_arg; \
-       xbt_pfn_context_free_t free; \
-       xbt_pfn_context_kill_t kill; \
-       xbt_pfn_context_schedule_t schedule; \
-       xbt_pfn_context_yield_t yield; \
-       xbt_pfn_context_start_t start; \
-       xbt_pfn_context_stop_t stop
+  s_xbt_swag_hookup_t hookup; \
+  char *name; \
+  void_f_pvoid_t cleanup_func; \
+  void *cleanup_arg; \
+  ex_ctx_t *exception; \
+  int iwannadie; \
+  xbt_main_func_t code; \
+  int argc; \
+  char **argv; \
+  void_f_pvoid_t startup_func; \
+  void *startup_arg; \
+  xbt_pfn_context_free_t free; \
+  xbt_pfn_context_kill_t kill; \
+  xbt_pfn_context_schedule_t schedule; \
+  xbt_pfn_context_yield_t yield; \
+  xbt_pfn_context_start_t start; \
+  xbt_pfn_context_stop_t stop
 
 /* all other context types derive from this structure */
      typedef struct s_xbt_context {
@@ -119,6 +119,7 @@ SG_BEGIN_DECL()
  */
      void
 
+
       
        xbt_context_init_factory_by_name(xbt_context_factory_t * factory,
                                         const char *name);