• Yukihiro "Matz" Matsumoto's avatar
    Remove `mrb_run` from `MRB_API`; #4488 · c143d87e
    Yukihiro "Matz" Matsumoto authored
    `mrb_run` requires to push callinfo stack before calling, which is very
    hard from outside of `vm.c`. So there should be virtually no correct
    usage of the function, hence the cause of #4488. We removed it.
    
    You can use `mrb_top_run(mrb, proc, self, 0)` instead of
    `mrb_run(mrb, proc self)`.
    c143d87e
vm.c 73.4 KB