X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/84ed556b8c7cf58207b813f2104075767c837d36..995f4b8d55d3c6f2047962c524fdfab415d7a1ac:/src/simix/smx_context_ruby.c diff --git a/src/simix/smx_context_ruby.c b/src/simix/smx_context_ruby.c index 8295eb39f0..3427d87844 100644 --- a/src/simix/smx_context_ruby.c +++ b/src/simix/smx_context_ruby.c @@ -56,11 +56,11 @@ smx_ctx_ruby_create_context(xbt_main_func_t code,int argc,char** argv, /* if the user provided a function for the process , then use it Otherwise it's the context for maestro */ if (code) { - context->cleanup_func = cleanup_func; - context->cleanup_arg = cleanup_arg; + context->super.cleanup_func = cleanup_func; + context->super.cleanup_arg = cleanup_arg; context->process = (VALUE)code; - context->argc=argc; - context->argv=argv; + context->super.argc=argc; + context->super.argv=argv; DEBUG1("smx_ctx_ruby_create_context(%s)...Done",argv[0]); }