Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let the decoupling of main lib and bindings work in supernovae (were multiple definit...
[simgrid.git] / src / bindings / ruby / simgrid_ruby.c
index f77f534..f6bccc5 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "xbt.h"
 #include "bindings/ruby_bindings.h"
+#include "simix/smx_context_private.h"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ruby);
 
@@ -148,11 +149,6 @@ static VALUE msg_get_clock(VALUE class)
 
 }
 
-/*Hack: let msg load directly the right factory */
-typedef void (*SIMIX_ctx_factory_initializer_t)(smx_context_factory_t *);
-extern SIMIX_ctx_factory_initializer_t factory_initializer_to_use;
-
-
 typedef VALUE(*rb_meth) (ANYARGS);
 void Init_libsimgrid()
 {