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
Reorganize structs to save a few bytes.
[simgrid.git]
/
include
/
simix
/
context.h
diff --git
a/include/simix/context.h
b/include/simix/context.h
index
4b4d5b9
..
71d1e6d
100644
(file)
--- a/
include/simix/context.h
+++ b/
include/simix/context.h
@@
-74,11
+74,11
@@
extern smx_context_t smx_current_context;
typedef struct s_smx_context {
s_xbt_swag_hookup_t hookup;
xbt_main_func_t code;
typedef struct s_smx_context {
s_xbt_swag_hookup_t hookup;
xbt_main_func_t code;
- int argc;
- char **argv;
void_pfn_smxprocess_t cleanup_func;
void_pfn_smxprocess_t cleanup_func;
- int iwannadie:1;
void *data; /* Here SIMIX stores the smx_process_t containing the context */
void *data; /* Here SIMIX stores the smx_process_t containing the context */
+ char **argv;
+ int argc;
+ int iwannadie:1;
} s_smx_ctx_base_t;
/* methods of this class */
} s_smx_ctx_base_t;
/* methods of this class */