KOBAYASHI Shuji
|
4d9d6faf0d
|
Remove unneeded statement in SET_OBJ_VALUE with boxing_word.h
`(r).value.bp` and `v` have the same value due to assignment of the line
preceding the removed line.
|
2019-06-19 17:50:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
49cb149033
|
Merge pull request #4391 from dearblue/inlines
Change modifier to `MRB_INLINE` from `static inline`
|
2019-04-22 21:17:27 +09:00 |
|
KOBAYASHI Shuji
|
b212050026
|
Expand BOXWORD_SET_VALUE() macro in include/mruby/boxing_word.h
In `SET_OBJ_VALUE()`, branch isn't removed because `switch` condition isn't
constant expression.
|
2019-04-20 21:23:58 +09:00 |
|
dearblue
|
125c3bef19
|
Add mrb_true_p() and mrb_false_p() macro functions
|
2019-04-19 22:50:05 +09:00 |
|
dearblue
|
6907e97fa1
|
Change modifier to MRB_INLINE from static inline
|
2019-04-19 22:24:22 +09:00 |
|
dearblue
|
e19353be25
|
Fix macro expressions with paren
|
2018-12-18 23:14:26 +09:00 |
|
dearblue
|
14133f4057
|
Fix macro arguments with paren
|
2018-12-18 23:05:36 +09:00 |
|
dearblue
|
ca01c8792d
|
Fix mrb_value size with MRB_WORD_BOXING on 32-bit mode
|
2018-08-05 20:33:44 +09:00 |
|
YAMAMOTO Masaya
|
acdc2d1f24
|
Add MRB_WITHOUT_FLOAT
|
2017-10-11 17:58:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
9e40586d43
|
Add cast to mrb_int in mrb_fixnum() when MRB_WORD_BOXING.
Without this cast, `long int:63` can cause warnings.
|
2017-05-26 02:16:18 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
51d7a69ab0
|
Clear (o).w first for MRB_WORD_BOXING; ref #3396
|
2017-01-25 11:07:57 +09:00 |
|
Tomasz Dabrowski
|
3fdfd8cb4a
|
Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
|
2016-11-27 12:49:36 +01:00 |
|
cremno
|
4c868a9562
|
remove SET_PROC_VALUE() macro
It isn't used anymore since the #2791 merge. It's also unlikely to be
needed again as it wasn't before (its usage was unnecessary).
|
2015-05-17 22:25:55 +02:00 |
|
furunkel
|
99a00cf417
|
Avoid unnecessary stores and reloads
|
2015-05-12 13:46:56 +02:00 |
|
Yukihiro "Matz" Matsumoto
|
2b3675bca1
|
word_boxing.h used int to represent symbols; use mrb_sym instead
|
2014-10-03 11:02:06 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
206f89e209
|
add MRB_API modifiers to mruby API functions
|
2014-08-04 00:47:08 +09:00 |
|
take_cheeze
|
fc8b48faf8
|
Move word boxing structs to "mruby/boxing_word.h".
|
2014-07-20 23:02:04 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
61bba9accf
|
rename word boxing functions
|
2014-07-09 06:40:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
0cf86dea0e
|
rename SET_FIXNUM_VALUE to SET_INT_VALUE since it sets mrb_int value
|
2014-07-09 06:40:19 +09:00 |
|
David Turnbull
|
249f05e7d7
|
Clean up value.h and mrb_value boxing
|
2014-07-09 06:32:11 +09:00 |
|