1. 24 Apr, 2020 1 commit
    • dearblue's avatar
      Support `undef` for `mrb_ary_splice()` instead of `[]` · 26eb2954
      dearblue authored
      When removing elements from an array, it is possible to avoid creating
      an empty array.
      
      Before this patch:
      
      ```c
      mrb_ary_splice(mrb, ary, head, len, mrb_ary_new(mrb));
      ```
      
      After this patch:
      
      ```c
      mrb_ary_splice(mrb, ary, head, len, mrb_undef_value());
      ```
      26eb2954
  2. 22 Apr, 2020 3 commits
  3. 21 Apr, 2020 4 commits
  4. 15 Apr, 2020 1 commit
  5. 14 Apr, 2020 5 commits
  6. 13 Apr, 2020 1 commit
    • dearblue's avatar
      Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING` · d0501c69
      dearblue authored
      Previously, if `MRB_NAN_BOXING` is defined, for example,
      `mrb_cptr_value()` could not keep an odd address.
      
      If it is `MRB_32BIT`, it can be embedded in `NaN` as it is.
      
      If it is `MRB_64BIT`, some operations are shared with `MRB_WORD_BOXING`.
      In this case, the MRB_API function `mrb_nan_boxing_cptr_value()` is
      defined.
      d0501c69
  7. 12 Apr, 2020 1 commit
  8. 11 Apr, 2020 7 commits
  9. 08 Apr, 2020 2 commits
  10. 05 Apr, 2020 1 commit
  11. 04 Apr, 2020 3 commits
  12. 03 Apr, 2020 1 commit
  13. 02 Apr, 2020 1 commit
  14. 01 Apr, 2020 4 commits
  15. 31 Mar, 2020 2 commits
  16. 30 Mar, 2020 1 commit
  17. 08 Mar, 2020 2 commits