summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-31 04:14:53 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-31 04:14:53 +0000
commita6487b236a7a34fbd164777a927cc7b185a98ff5 (patch)
treea17c12e15c2926dcb886f256f35ee90f318cedb3 /node.h
parentb22fc4ebb6d1e6d97587d750378db249b07b3109 (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/trunk@10805 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 7d8f6fc..46332ca 100644
--- a/node.h
+++ b/node.h
@@ -153,6 +153,9 @@ typedef struct RNode {
} u3;
} NODE;
+extern NODE *ruby_cref;
+extern NODE *ruby_top_cref;
+
#define RNODE(obj) (R_CAST(RNode)(obj))
/* 0..4:T_TYPES, 5:FL_MARK, 6:reserved, 7:NODE_NEWLINE */