diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-08-24 23:12:08 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-08-26 02:01:50 +0900 |
| commit | 0c52112dd41a040a77bbb4dec339ac73da4992b7 (patch) | |
| tree | a607775906e681552c65f31b99cc34f33aa1b01d /include/mruby.h | |
| parent | 04dbbff3c13a0b83cf02982791eb6834b9934099 (diff) | |
| download | mruby-0c52112dd41a040a77bbb4dec339ac73da4992b7.tar.gz mruby-0c52112dd41a040a77bbb4dec339ac73da4992b7.zip | |
Keep `Range` class in `mrb_state` structure for performance.
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index cd9fca7f4..1a6289e5c 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -201,6 +201,7 @@ typedef struct mrb_state { struct RClass *string_class; struct RClass *array_class; struct RClass *hash_class; + struct RClass *range_class; struct RClass *float_class; struct RClass *fixnum_class; |
