diff options
| author | yuri <[email protected]> | 2018-07-10 01:42:33 +0900 |
|---|---|---|
| committer | yuri <[email protected]> | 2018-07-10 01:42:33 +0900 |
| commit | dabb20ddbb51e6dac3bb6a8bac6dfcfd76808ac0 (patch) | |
| tree | 0c2ff85799ce7781324114dc58a6a52b9fe33b4a /include | |
| parent | 17c9e65603f3e21abc9f383532dbd33666245309 (diff) | |
| download | mruby-dabb20ddbb51e6dac3bb6a8bac6dfcfd76808ac0.tar.gz mruby-dabb20ddbb51e6dac3bb6a8bac6dfcfd76808ac0.zip | |
add mrbc option `--remove-lv`
* refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv`
* add: mrbc option `--remove-lv` to remove LVAR section
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/dump.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/dump.h b/include/mruby/dump.h index f56d66a32..39a99e97b 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -31,6 +31,7 @@ MRB_API mrb_value mrb_load_irep_file(mrb_state*,FILE*); MRB_API mrb_value mrb_load_irep_file_cxt(mrb_state*, FILE*, mrbc_context*); #endif MRB_API mrb_irep *mrb_read_irep(mrb_state*, const uint8_t*); +void mrb_irep_remove_lv(mrb_state *mrb, mrb_irep *irep); /* dump/load error code * |
