diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-11 14:54:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-11 14:54:44 +0000 |
commit | db4ec3c56a0ee43630234885039cc3bcd13f8026 (patch) | |
tree | 9415a83935bdd3af3c26a261b9b7fd687f4bc7b0 | |
parent | f32d0e89340ba610037c654eb89033e732ad0624 (diff) | |
download | ruby-db4ec3c56a0ee43630234885039cc3bcd13f8026.tar.gz |
* env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class,
ruby_dyna_vars): export. [ruby-dev:22566]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | env.h | 10 |
2 files changed, 11 insertions, 6 deletions
@@ -1,3 +1,8 @@ +Sun Jan 11 23:54:41 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * env.h (ruby_frame, ruby_scope, ruby_in_eval, ruby_class, + ruby_dyna_vars): export. [ruby-dev:22566] + Sun Jan 11 02:35:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org> * ext/socket/socket.c (make_hostent): a bug in brace position. @@ -7,7 +12,7 @@ Sun Jan 11 02:35:53 2004 Yukihiro Matsumoto <matz@ruby-lang.org> Sun Jan 11 02:07:47 2004 Dave Thomas <dave@pragprog.com> - * lib/rdoc/ri/ri_options.rb (RI::Options::OptionList::OptionList): + * lib/rdoc/ri/ri_options.rb (RI::Options::OptionList::OptionList): Also accept command line options via the 'RI' environment variable. Sat Jan 10 21:27:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org> @@ -13,7 +13,7 @@ #ifndef ENV_H #define ENV_H -extern struct FRAME { +RUBY_EXTERN struct FRAME { VALUE self; int argc; VALUE *argv; @@ -33,7 +33,7 @@ void rb_gc_mark_frame _((struct FRAME *)); #define FRAME_ALLOCA 0 #define FRAME_MALLOC 1 -extern struct SCOPE { +RUBY_EXTERN struct SCOPE { struct RBasic super; ID *local_tbl; VALUE *local_vars; @@ -45,9 +45,9 @@ extern struct SCOPE { #define SCOPE_NOSTACK 2 #define SCOPE_DONT_RECYCLE 4 -extern int ruby_in_eval; +RUBY_EXTERN int ruby_in_eval; -extern VALUE ruby_class; +RUBY_EXTERN VALUE ruby_class; struct RVarmap { struct RBasic super; @@ -55,6 +55,6 @@ struct RVarmap { VALUE val; struct RVarmap *next; }; -extern struct RVarmap *ruby_dyna_vars; +RUBY_EXTERN struct RVarmap *ruby_dyna_vars; #endif /* ENV_H */ |