summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-26 10:22:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-26 10:22:14 +0000
commitc88c96361d4c4e30db4e4078d744cd0b16ac4dcf (patch)
tree403bd79e169f934c7521064363dd7857cba3ce88 /node.h
parentfce5e4b1bc09fbd87a5cdf5eee1af7770162c312 (diff)
protected methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r--node.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/node.h b/node.h
index a8e6ddb..04549d7 100644
--- a/node.h
+++ b/node.h
@@ -305,10 +305,11 @@ typedef struct RNode {
NODE *node_newnode();
VALUE rb_method_booundp();
-#define NOEX_PUBLIC 0
-#define NOEX_PRIVATE 1
-#define NOEX_UNDEF 2
-#define NOEX_CFUNC 2
+#define NOEX_PUBLIC 0
+#define NOEX_UNDEF 1
+#define NOEX_CFUNC 1
+#define NOEX_PRIVATE 2
+#define NOEX_PROTECTED 4
NODE *compile_string _((char *, char *, int));
NODE *compile_file _((char *, VALUE, int));