#include "xbt/log.h"
#include "xbt/asserts.h"
-#include "bindings/smx_context.h"
#include "bindings/ruby_bindings.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ruby);
ctx_ruby = (smx_ctx_ruby_t) context;
- if (((smx_process_t)smx_current_context->data)->iwannadie) {
+ if (smx_current_context->iwannadie) {
if (ctx_ruby->process) {
//if the Ruby Process still Alive ,let's Schedule it