MRI: rewrite script eval (was: Question about $0) #24
|
@ -279,8 +279,6 @@ static void runRMXPScripts()
|
|||
decData.resize(hdSize + scriptDecLen);
|
||||
memcpy(&decData[hdSize], scriptDecPtr, scriptDecLen);
|
||||
|
||||
ruby_script(RSTRING_PTR(rb_ary_entry(script, 1)));
|
||||
|
||||
/* Execute code */
|
||||
rb_eval_string_protect(decData.c_str(), 0);
|
||||
|
||||
|
@ -290,7 +288,6 @@ static void runRMXPScripts()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static void mriBindingExecute()
|
||||
{
|
||||
ruby_setup();
|
||||
|
|
Loading…
Reference in New Issue