diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-09 21:55:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-09 21:55:55 +0000 |
commit | 3ece38366080f6c862e243d152476572ba15268a (patch) | |
tree | 607bbe0557a0284a8576c949bbc7c3db70049e64 /include | |
parent | 979ac967a9d0437e698d3e555098c77e495baee8 (diff) | |
download | ruby-3ece38366080f6c862e243d152476572ba15268a.tar.gz |
* marshal.c (class2path, w_unique, w_extended, w_class, w_uclass):
deal with non-ascii class path. [ruby-core:24790]
* marshal.c (r_unique, path2class, path2module, obj_alloc_by_path),
(r_object0): ditto.
* variable.c (rb_path_to_class): new encoding-aware function to
get a class from its name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 8e6e152827..e9ddae164b 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -760,7 +760,8 @@ VALUE rb_mod_name(VALUE); VALUE rb_class_path(VALUE); void rb_set_class_path(VALUE, VALUE, const char*); void rb_set_class_path_string(VALUE, VALUE, VALUE); -VALUE rb_path2class(const char*); +VALUE rb_path_to_class(VALUE); +DEPRECATED(VALUE rb_path2class(const char*)); void rb_name_class(VALUE, ID); VALUE rb_class_name(VALUE); void rb_autoload(VALUE, ID, const char*); |