diff options
| author | Tomasz Dąbrowski <[email protected]> | 2016-11-16 17:43:55 +0100 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-17 17:19:49 +0900 |
| commit | 4cca8bac6bbdab02eba11e6527f793f2e9a5e75d (patch) | |
| tree | 6b08ca177e1ebeaa0be3d87a993b27fbe58f795e /mrbgems/default.gembox | |
| parent | 784e07f902790dd13d33460d7365a2f0aee85727 (diff) | |
| download | mruby-4cca8bac6bbdab02eba11e6527f793f2e9a5e75d.tar.gz mruby-4cca8bac6bbdab02eba11e6527f793f2e9a5e75d.zip | |
inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)
Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms.
mruby-inline-struct gem is only provided for testing.
Diffstat (limited to 'mrbgems/default.gembox')
| -rw-r--r-- | mrbgems/default.gembox | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mrbgems/default.gembox b/mrbgems/default.gembox index dab7230aa..e3bd114f3 100644 --- a/mrbgems/default.gembox +++ b/mrbgems/default.gembox @@ -74,6 +74,9 @@ MRuby::GemBox.new do |conf| # Use class/module extension conf.gem :core => "mruby-class-ext" + # Use inline struct + conf.gem :core => "mruby-inline-struct" + # Use mruby-compiler to build other mrbgems conf.gem :core => "mruby-compiler" end |
