From: Takishipp Date: Wed, 12 Apr 2017 13:43:06 +0000 (+0200) Subject: s_defineVariableType X-Git-Tag: v3.16~287^2~11 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/20901a3b7b7d4c6dc2a427f271a57e8ef2a15805 s_defineVariableType --- diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 0b2f176e53..0ef19cb179 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -128,8 +128,8 @@ class paje_event { }; typedef paje_event s_paje_event_t; -//-------------------------------------------------- +//-------------------------------------------------- class s_defineContainerType; typedef s_defineContainerType *defineContainerType_t; @@ -142,8 +142,7 @@ typedef s_defineContainerType s_defineContainerType_t; //-------------------------------------------------- typedef struct s_defineVariableType *defineVariableType_t; -typedef struct s_defineVariableType: public paje_event - { +typedef struct s_defineVariableType { type_t type; }s_defineVariableType_t; diff --git a/src/instr/instr_trace.cpp b/src/instr/instr_trace.cpp index b9276b5b11..24493a0ed2 100644 --- a/src/instr/instr_trace.cpp +++ b/src/instr/instr_trace.cpp @@ -159,6 +159,7 @@ void s_defineContainerType::new_pajeDefineContainerType(type_t type) event->free (event); } */ + void new_pajeDefineVariableType(type_t type) { paje_event_t event = xbt_new0(s_paje_event_t, 1);