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
Compile fix
[simgrid.git]
/
src
/
bindings
/
ruby
/
simgrid_ruby.c
diff --git
a/src/bindings/ruby/simgrid_ruby.c
b/src/bindings/ruby/simgrid_ruby.c
index
5ac81ec
..
d6c5338
100644
(file)
--- a/
src/bindings/ruby/simgrid_ruby.c
+++ b/
src/bindings/ruby/simgrid_ruby.c
@@
-148,12
+148,10
@@
static VALUE msg_get_clock(VALUE class)
}
}
-extern const char *xbt_ctx_factory_to_use; /*Hack: let msg load directly the right factory */
-
typedef VALUE(*rb_meth) (ANYARGS);
void Init_libsimgrid()
{
typedef VALUE(*rb_meth) (ANYARGS);
void Init_libsimgrid()
{
-
xbt_ctx_factory_to_use = "ruby"
;
+
factory_initializer_to_use = SIMIX_ctx_ruby_factory_init
;
// Modules
rb_msg = rb_define_module("MSG");
// Modules
rb_msg = rb_define_module("MSG");