From: Takishipp Date: Tue, 4 Apr 2017 10:18:31 +0000 (+0200) Subject: s_newEvent is changed to a class X-Git-Tag: v3.16~287^2~16 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/74bcee61440be04c8c6058c7b09f627423b00acf?ds=sidebyside s_newEvent is changed to a class --- diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 4c56b8d215..ad5df54e54 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -234,12 +234,18 @@ typedef struct s_endLink { char *key; }s_endLink_t; -typedef struct s_newEvent *newEvent_t; -typedef struct s_newEvent { +class s_newEvent; + +typedef s_newEvent *newEvent_t; + +class s_newEvent { + public: container_t container; type_t type; val_t value; -}s_newEvent_t; +}; + +typedef s_newEvent s_newEvent_t; extern XBT_PRIVATE xbt_dict_t created_categories; extern XBT_PRIVATE xbt_dict_t declared_marks;