MRI: rewrite script eval (was: Question about $0) #24

Merged
cremno merged 7 commits from mri-rewrite-script-eval into master 2014-04-12 09:54:13 +00:00
1 changed files with 0 additions and 3 deletions
Showing only changes of commit 06b877a78c - Show all commits

View File

@ -279,8 +279,6 @@ static void runRMXPScripts()
decData.resize(hdSize + scriptDecLen); decData.resize(hdSize + scriptDecLen);
memcpy(&decData[hdSize], scriptDecPtr, scriptDecLen); memcpy(&decData[hdSize], scriptDecPtr, scriptDecLen);
ruby_script(RSTRING_PTR(rb_ary_entry(script, 1)));
/* Execute code */ /* Execute code */
rb_eval_string_protect(decData.c_str(), 0); rb_eval_string_protect(decData.c_str(), 0);
@ -290,7 +288,6 @@ static void runRMXPScripts()
} }
} }
static void mriBindingExecute() static void mriBindingExecute()
{ {
ruby_setup(); ruby_setup();