From a6487b236a7a34fbd164777a927cc7b185a98ff5 Mon Sep 17 00:00:00 2001 From: why Date: Thu, 31 Aug 2006 04:14:53 +0000 Subject: * 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 --- node.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node.h') 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 */ -- cgit v1.1