Add "rb_" prefixes to toplevel enum definitions

... as per ko1's request.
This commit is contained in:
Yusuke Endoh 2022-07-22 16:57:25 +09:00
parent e763b1118b
commit 8f7e188822
Notes: git 2022-07-22 23:10:45 +09:00
7 changed files with 36 additions and 36 deletions

4
iseq.h
View file

@ -253,7 +253,7 @@ struct iseq_insn_info_entry {
* CATCH_TYPE_REDO, CATCH_TYPE_NEXT:
* NULL.
*/
enum catch_type {
enum rb_catch_type {
CATCH_TYPE_RESCUE = INT2FIX(1),
CATCH_TYPE_ENSURE = INT2FIX(2),
CATCH_TYPE_RETRY = INT2FIX(3),
@ -263,7 +263,7 @@ enum catch_type {
};
struct iseq_catch_table_entry {
enum catch_type type;
enum rb_catch_type type;
rb_iseq_t *iseq;
unsigned int start;