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 | 3a820add40f55929acd5af419134488465ca1ceb (patch) | |
| tree | 607bbe0557a0284a8576c949bbc7c3db70049e64 /include/ruby | |
| parent | 6a86ff819fe32971254909de1942bfc39a0ed2bf (diff) | |
| download | ruby-3a820add40f55929acd5af419134488465ca1ceb.tar.gz ruby-3a820add40f55929acd5af419134488465ca1ceb.tar.xz ruby-3a820add40f55929acd5af419134488465ca1ceb.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@24488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -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 8e6e15282..e9ddae164 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*); |
