aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
Diffstat (limited to 'method.h')
-rw-r--r--method.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/method.h b/method.h
index 4850caeebd..a314a75634 100644
--- a/method.h
+++ b/method.h
@@ -27,7 +27,9 @@ typedef enum {
METHOD_VISI_UNDEF = 0x00,
METHOD_VISI_PUBLIC = 0x01,
METHOD_VISI_PRIVATE = 0x02,
- METHOD_VISI_PROTECTED = 0x03
+ METHOD_VISI_PROTECTED = 0x03,
+
+ METHOD_VISI_MASK = 0x03
} rb_method_visibility_t;
typedef struct rb_scope_visi_struct {