#include "xbt.h"
#include "bindings/ruby_bindings.h"
+#include "simix/smx_context_private.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ruby);
}
-extern const char *xbt_ctx_factory_to_use; /*Hack: let msg load directly the right factory */
-
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");