summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-10 11:49:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-10 11:49:14 +0000
commitb416c57c0a998c6f2435e419860b7645508816d6 (patch)
treeef5294184f4d584d318e96c7174a6d41080dde11 /node.h
parent509fa974311b936279d9c25544fb06f41771ea0b (diff)
downloadruby-b416c57c0a998c6f2435e419860b7645508816d6.tar.gz
* eval.c (method_proc): return bound Proc object. [ruby-dev:22854]
* eval.c (rb_mod_define_method): bind method body itself for Method object. * node.h (NODE_DMETHOD): deprecated. * object.c (rb_class_inherited_p): export. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r--node.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/node.h b/node.h
index ee953ca198..da71ee7070 100644
--- a/node.h
+++ b/node.h
@@ -118,7 +118,6 @@ enum node_type {
#ifdef C_ALLOCA
NODE_ALLOCA,
#endif
- NODE_DMETHOD,
NODE_BMETHOD,
NODE_MEMO,
NODE_IFUNC,
@@ -335,7 +334,6 @@ typedef struct RNode {
#define NEW_DEFINED(e) NEW_NODE(NODE_DEFINED,e,0,0)
#define NEW_PREEXE(b) NEW_SCOPE(b)
#define NEW_POSTEXE() NEW_NODE(NODE_POSTEXE,0,0,0)
-#define NEW_DMETHOD(b) NEW_NODE(NODE_DMETHOD,0,0,b)
#define NEW_BMETHOD(b) NEW_NODE(NODE_BMETHOD,0,0,b)
#define NEW_ATTRASGN(r,m,a) NEW_NODE(NODE_ATTRASGN,r,m,a)