mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add a comment: the usage of MRB_DUMP_GENERAL_FAILURE.
This commit is contained in:
@@ -28,7 +28,11 @@ int mrb_bdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
|
||||
#define DUMP_TYPE_BIN 1
|
||||
#define DUMP_TYPE_HEX 2
|
||||
|
||||
/* dump/load error code */
|
||||
/* dump/load error code
|
||||
*
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user