A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
paje_event is changed to a cpp class
[simgrid.git]
/
src
/
instr
/
instr_private.h
diff --git
a/src/instr/instr_private.h
b/src/instr/instr_private.h
index
b6c49e6
..
c9b9a11
100644
(file)
--- a/
src/instr/instr_private.h
+++ b/
src/instr/instr_private.h
@@
-97,14
+97,20
@@
typedef struct s_container {
xbt_dict_t children;
}s_container_t;
xbt_dict_t children;
}s_container_t;
-typedef struct paje_event *paje_event_t;
-typedef struct paje_event {
+class paje_event;
+
+typedef paje_event *paje_event_t;
+
+class paje_event {
+ public:
double timestamp;
e_event_type event_type;
void (*print) (paje_event_t event);
void (*free) (paje_event_t event);
void *data;
double timestamp;
e_event_type event_type;
void (*print) (paje_event_t event);
void (*free) (paje_event_t event);
void *data;
-} s_paje_event_t;
+};
+
+typedef paje_event s_paje_event_t;
typedef struct s_defineContainerType *defineContainerType_t;
typedef struct s_defineContainerType {
typedef struct s_defineContainerType *defineContainerType_t;
typedef struct s_defineContainerType {