aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-07-22 16:57:25 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-07-22 23:10:24 +0900
commit8f7e18882269ef3747312a390b06f02f7e2c98eb (patch)
tree8bcd7846bd65dfd3a4ca7c83fbc2c15e79b31a53 /iseq.h
parente763b1118ba1fada81d37da558f9d8e4da99f144 (diff)
downloadruby-8f7e18882269ef3747312a390b06f02f7e2c98eb.tar.gz
Add "rb_" prefixes to toplevel enum definitions
... as per ko1's request.
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.h b/iseq.h
index 062ed33d86..e7db9b951f 100644
--- a/iseq.h
+++ b/iseq.h
@@ -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;