diff options
| author | cremno <[email protected]> | 2014-02-13 08:16:56 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-02-13 13:39:22 +0100 |
| commit | e8945b8598f8e9f34742c2ad94eec04fe693a173 (patch) | |
| tree | 44b8b6ddeae8c17bb784d321c396c9ec6409f1b7 /include | |
| parent | 7a32c7b18354c3f4f0439978797157bf9915ae2a (diff) | |
| download | mruby-e8945b8598f8e9f34742c2ad94eec04fe693a173.tar.gz mruby-e8945b8598f8e9f34742c2ad94eec04fe693a173.zip | |
dump.h: parenthesize negative errnos
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/dump.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/mruby/dump.h b/include/mruby/dump.h index 02c5250c9..81f2af665 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -28,14 +28,14 @@ mrb_irep *mrb_read_irep(mrb_state*, const uint8_t*); * NOTE: MRB_DUMP_GENERAL_FAILURE is caused by * unspecified issues like malloc failed. */ -#define MRB_DUMP_OK 0 -#define MRB_DUMP_GENERAL_FAILURE -1 -#define MRB_DUMP_WRITE_FAULT -2 -#define MRB_DUMP_READ_FAULT -3 -#define MRB_DUMP_CRC_ERROR -4 -#define MRB_DUMP_INVALID_FILE_HEADER -5 -#define MRB_DUMP_INVALID_IREP -6 -#define MRB_DUMP_INVALID_ARGUMENT -7 +#define MRB_DUMP_OK 0 +#define MRB_DUMP_GENERAL_FAILURE (-1) +#define MRB_DUMP_WRITE_FAULT (-2) +#define MRB_DUMP_READ_FAULT (-3) +#define MRB_DUMP_CRC_ERROR (-4) +#define MRB_DUMP_INVALID_FILE_HEADER (-5) +#define MRB_DUMP_INVALID_IREP (-6) +#define MRB_DUMP_INVALID_ARGUMENT (-7) /* null symbol length */ #define MRB_DUMP_NULL_SYM_LEN 0xFFFF |
