- 21 Dec, 2018 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
`cpp` does not raise error on undefined macro access in condition.
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Dec, 2018 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
You had to define this macro on big endian platforms, but it is very error-prone. So define the macro automatically if possible.
-
Yukihiro "Matz" Matsumoto authored
The `MRB_ENDIAN_BIG` macro is originally used for `NaN` boxing. We cannot assume it is defined on every big endian platform (#4190 is the case). So instead of relying on untrusted `MRB_ENDIAN_BIG`, we use `BYTE_ORDER` macro with a fallback function to check endian in runtime.
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Dec, 2018 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix parenthesis for macros
-
Yukihiro "Matz" Matsumoto authored
Android bionic defines `TIME_UTC` but does not provide `timespec_get`.
-
- 18 Dec, 2018 2 commits
- 17 Dec, 2018 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Make mrb_ary_clear() function callable from C again
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
We have removed implicit conversion to strings using `to_int`. But some users still using `to_int` as a typical integer method, i.e. they do string check by code like: `obj.respond_to?(:to_int)`. So we have recovered the method.
-
Yukihiro "Matz" Matsumoto authored
We have removed implicit conversion to strings using `to_str`. But some people still using `to_str` as a typical string method, i.e. they do string check by code like: `obj.respond_to?(:to_str)`. So we have recovered the method.
-
Yukihiro "Matz" Matsumoto authored
Add `mrb_hash_size()` function
-
- 14 Dec, 2018 2 commits
-
-
Takashi Sawanaka authored
-
dearblue authored
-
- 12 Dec, 2018 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix sleep example
-
- 11 Dec, 2018 12 commits
-
-
icm7216 authored
-
icm7216 authored
-
Yukihiro "Matz" Matsumoto authored
Release mruby 2.0.0
-
Yukihiro "Matz" Matsumoto authored
-
Hiroshi Mimaki authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
* return `void` instead of `mrb_bool'. * non zero return value from `func` breaks the loop. * no longer remove items on negative return value from `func`.
-
Hiroshi Mimaki authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Dec, 2018 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 03 Dec, 2018 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Adds Module#< and Module#<=
-
Rob authored
-
- 27 Nov, 2018 1 commit
-
-
Hiroshi Mimaki authored
-
- 25 Nov, 2018 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
e.g. ``` def m(a,(b,c),d); p [a,b,c,d]; end m(1,[2,3],4) # => [1,2,3,4] ``` mruby limitation: Destructured arguments (`b` and `c` in above example) cannot be accessed from the default expression of optional arguments and keyword arguments, since actual assignment is done after the evaluation of those default expressions. Thus: ``` def f(a,(b,c),d=b) p [a,b,c,d] end f(1,[2,3]) ``` raises `NoMethodError` for `b` in mruby.
-
- 24 Nov, 2018 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-