summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authordearblue <[email protected]>2021-01-10 21:41:51 +0900
committerdearblue <[email protected]>2021-01-10 21:41:51 +0900
commit3fc848b54575b1f9ed60106365bc2223c109e2a1 (patch)
tree767a63663d60feeeda99ffc42c88941ae826c98f /include/mruby.h
parente8e28eacc72f4648ca1bd75f4d6d7ea51b76df3f (diff)
downloadmruby-3fc848b54575b1f9ed60106365bc2223c109e2a1.tar.gz
mruby-3fc848b54575b1f9ed60106365bc2223c109e2a1.zip
Replace `tempirep` with `RProc`
Previously I used the `RData` object to avoid a memory leak in `mrb_irep` if `src/load.c` failed. ref: https://github.com/mruby/mruby/pull/4250 commit: f1523d24042ca3416dc5b9be7b3fc220ddaed896 Considering that the `RProc` object will be created in the subsequent process, it is preferable to create the `RProc` object from the beginning. Along with this, the inside of `read_irep()` is replaced with the processing centered on the `RProc` object. The global function that returns the `mrb_irep` pointer is still provided for compatibility.
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions