- 27 Jan, 2021 9 commits
-
-
KOBAYASHI Shuji authored
Because a structure that is an element of `presym_table` has padding, split it into individual arrays for name and length. #### Result (64-bit CPU with full-core gembox) | | mruby | libmruby.a | |--------|------------|------------| | Before | 1,087,444B | 1,476,872B | | After | 1,079,340B | 1,469,784B |
-
Yukihiro "Matz" Matsumoto authored
Rename `.i` created for presym scan to `.pi`
-
KOBAYASHI Shuji authored
This is because compiler's `-save-temps=obj` option creates `.i` with the same name.
-
Yukihiro "Matz" Matsumoto authored
Fix typos in `mruby/presym/{disable,enable}.h` [ci skip]
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Avoid 'possible loss of data' casting in binary search
-
Yukihiro "Matz" Matsumoto authored
Fix "Use `MRB_SYM()` for error class retrieval"; ref 2ddfd50d
-
KOBAYASHI Shuji authored
Because it may not be expected result. example: https://wandbox.org/permlink/F5Mp7IEJ1VY3CFLp
-
KOBAYASHI Shuji authored
The new macro (`MRB_E_SYM`) was not being used, so it is being used. Also `MRB_E_SYM` is confusing with `MRB_SYM_E`, so change it to `MRB_ERROR_SYM`.
-
- 26 Jan, 2021 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This reverts commit 34f82f24. Ref #5282
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
To describe how to use symbols, especially preallocated symbols from C.
-
Yukihiro "Matz" Matsumoto authored
Or no argument at all.
-
Yukihiro "Matz" Matsumoto authored
Where `mruby-config` command should be generated.
-
Yukihiro "Matz" Matsumoto authored
Note that `MRB_SYM()` is only available when `mruby/presym.h` is included. Use `mrb_intern_lit()` otherwise.
-
Yukihiro "Matz" Matsumoto authored
This reverts commit dc51d89a.
-
- 25 Jan, 2021 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix TYPO and checking minor version in RITE BINARY HEADER
-
HASUMI Hitoshi authored
-
HASUMI Hitoshi authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
For easier compiling and linking of the application embedding `mruby`
-
- 24 Jan, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
As CRuby does.
-
Yukihiro "Matz" Matsumoto authored
-
- 23 Jan, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
ref dc51d89a
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix typo
-
Yevhen Viktorov authored
-
- 22 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure.
-
- 21 Jan, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit).
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Merge branch 'avoid-including-presym.inc-in-existing-header-files' of https://github.com/shuujii/mruby into shuujii-avoid-including-presym.inc-in-existing-header-files
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-