1. 06 Sep, 2021 6 commits
  2. 05 Sep, 2021 3 commits
  3. 04 Sep, 2021 5 commits
  4. 03 Sep, 2021 2 commits
  5. 01 Sep, 2021 4 commits
  6. 31 Aug, 2021 12 commits
  7. 29 Aug, 2021 1 commit
  8. 28 Aug, 2021 4 commits
  9. 27 Aug, 2021 1 commit
    • dearblue's avatar
      Refactor the `mrb_get_args()` function · 6ac8d14b
      dearblue authored
      - Removed the `ARGV` macro.
        The current path doesn't go into the mruby VM and there's also no need to separate variables.
      - Use common functions to check object types.
        - Use `mrb_ensure_string_type()` to check the string instead of `mrb_to_str()`.
          This is for consistency with array and hash.
        - Use `mrb_ensure_array_type()` to check the array instead of `to_ary()`.
        - Use `mrb_ensure_hash_type()` to check the hash instead of `to_hash()`.
        - Add and use `ensure_class_type()` to check class and module.
      - Changed the argument index type from `mrb_int` to `int`.
        Even if it is `int16_t`, it is enough.
        `mrb_int` is overkill, especially if `MRB_32BIT` and `MRB_INT64` are defined.
      6ac8d14b
  10. 26 Aug, 2021 2 commits