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
Sanitize the includes of context objects declarations (was dupplicated and a bit...
[simgrid.git]
/
src
/
bindings
/
ruby_bindings.h
diff --git
a/src/bindings/ruby_bindings.h
b/src/bindings/ruby_bindings.h
index
04b93c2
..
48821a9
100644
(file)
--- a/
src/bindings/ruby_bindings.h
+++ b/
src/bindings/ruby_bindings.h
@@
-26,6
+26,8
@@
#include "xbt/log.h"
#include "xbt/asserts.h"
#include "xbt/log.h"
#include "xbt/asserts.h"
+#include "simix/smx_context_private.h"
+
/* Damn Ruby. They load their full config.h, which breaks since we also load ours.
* So, we undef the offending defines
*/
/* Damn Ruby. They load their full config.h, which breaks since we also load ours.
* So, we undef the offending defines
*/
@@
-41,7
+43,7
@@
* Context related stuff *
* ********************* */
typedef struct s_smx_ctx_ruby {
* Context related stuff *
* ********************* */
typedef struct s_smx_ctx_ruby {
- SMX_CTX_BASE_T;
+ s_smx_ctx_base_t super; /* Fields of super implementation */
VALUE process; // The Ruby Process Instance
//...
}s_smx_ctx_ruby_t,*smx_ctx_ruby_t;
VALUE process; // The Ruby Process Instance
//...
}s_smx_ctx_ruby_t,*smx_ctx_ruby_t;