diff options
| author | KOBAYASHI Shuji <[email protected]> | 2021-02-14 11:55:53 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2021-02-14 11:55:53 +0900 |
| commit | a6a76d8fd2d7bb89c6034302bb416beb50ef5346 (patch) | |
| tree | eff2694cd146350690d1c47b6ac7f101f42af32b /include | |
| parent | c3ec5861ac4a94c78d6c0c3c510bc2b0451f5a7f (diff) | |
| download | mruby-a6a76d8fd2d7bb89c6034302bb416beb50ef5346.tar.gz mruby-a6a76d8fd2d7bb89c6034302bb416beb50ef5346.zip | |
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 |
