From 74bcee61440be04c8c6058c7b09f627423b00acf Mon Sep 17 00:00:00 2001 From: Takishipp Date: Tue, 4 Apr 2017 12:18:31 +0200 Subject: [PATCH] s_newEvent is changed to a class --- src/instr/instr_private.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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; -- 2.20.1