summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sleep/src
AgeCommit message (Collapse)Author
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
- `MRB_WITHOUT_FLOAT` => `MRB_NO_FLOAT` - `MRB_USE_FLOAT` => `MRB_USE_FLOAT32` The former is to use `USE_XXX` naming convention. The latter is to make sure `float` is 32bit float and not floating point number in general.
2020-08-11Add cast for `mrb_fixnum_value()` from `time_t`.Yukihiro "Matz" Matsumoto
2020-08-11Fix `mrb_int` and `size_t` combination warnings.Yukihiro "Matz" Matsumoto
2020-06-05Add proper casts to silence VC warnings.Yukihiro "Matz" Matsumoto
2019-12-09Add "mruby developers" into some gems; Resolve #4709dearblue
It is writing side by side with the original authors.
2019-01-26Refine error message for time intervalKOBAYASHI Shuji
Time interval value can be zero, and float (in `Kernel#sleep`)
2018-11-01Silence Appveyor's VC compilation warnings.Yukihiro "Matz" Matsumoto
2018-09-06Make `Kernel#sleep` to accept float as a duration time.Yukihiro "Matz" Matsumoto
But when `MRB_WITHOUT_FLOAT` is set, there's no way to sleep for sub seconds. So mruby specific `usleep` is provided.
2018-09-06Remove `Sleep` module that does not exist in CRuby.Yukihiro "Matz" Matsumoto
2018-09-05Refactored `mruby-sleep` gem.Yukihiro "Matz" Matsumoto
* Method implementation functions made `static`. * Function declaration style has been changed. * Unnecessary header file `mrb_sleep.h` removed. * Used `mrb_get_args()` instead of self parsing. * Indentation kept untouched.
2018-09-05Add `mruby-sleep` gem to the core.Yukihiro "Matz" Matsumoto