summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-31 03:52:48 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-31 03:52:48 +0000
commit882ce706c131699b3d8b6e44d5b139360238b81a (patch)
tree2cc8e4ea440d435955d8ab180043afa618143683 /node.h
parent9abae661537f676b03cefc93f16ce8e4be28433d (diff)
* eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
along with ruby_cref, for use by the sandbox. [ruby-core:08762] * node.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r--node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.h b/node.h
index 39d02ae9d9..dd73e81990 100644
--- a/node.h
+++ b/node.h
@@ -151,6 +151,9 @@ typedef struct RNode {
} u3;
} NODE;
+extern NODE *ruby_cref;
+extern NODE *ruby_top_cref;
+
#define RNODE(obj) (R_CAST(RNode)(obj))
#define nd_type(n) ((int)(((RNODE(n))->flags>>FL_USHIFT)&0xff))