diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-17 12:43:45 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-17 12:43:45 +0900 |
| commit | cb43dda009475c2d56398630f2c4f0a59a8ff9de (patch) | |
| tree | 54743d2cea988d7b84be729a6f1d1863fdad80fe /include | |
| parent | dee9168882bfa04900db9a640da5a460f9b2c4ec (diff) | |
| parent | a6a76d8fd2d7bb89c6034302bb416beb50ef5346 (diff) | |
| download | mruby-cb43dda009475c2d56398630f2c4f0a59a8ff9de.tar.gz mruby-cb43dda009475c2d56398630f2c4f0a59a8ff9de.zip | |
Merge pull request #5347 from shuujii/add--s-option-to-mrbc-for-make-variable-static
Add `-s` option to `mrbc` for make variable static
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/dump.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mruby/dump.h b/include/mruby/dump.h index ed0c64b1a..3c48866d9 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -16,7 +16,10 @@ */ MRB_BEGIN_DECL -#define DUMP_DEBUG_INFO 1 +/* flags for mrb_dump_irep{,_binary,_cfunc,_cstruct} */ +#define MRB_DUMP_DEBUG_INFO 1 +#define MRB_DUMP_STATIC 2 +#define DUMP_DEBUG_INFO MRB_DUMP_DEBUG_INFO /* deprecated */ int mrb_dump_irep(mrb_state *mrb, const mrb_irep *irep, uint8_t flags, uint8_t **bin, size_t *bin_size); #ifndef MRB_NO_STDIO |
