diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-25 14:45:47 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-25 14:45:47 +0000 |
commit | 78ef4198f400cd2c6ddd28353531aaba996b6697 (patch) | |
tree | bbd266343c5cc2c1ec4d1e26897f01a34db5f0bd /include | |
parent | 13fee949b6b8905a0a64b8ad6879c0f573243c4a (diff) | |
download | ruby-78ef4198f400cd2c6ddd28353531aaba996b6697.tar.gz ruby-78ef4198f400cd2c6ddd28353531aaba996b6697.tar.xz ruby-78ef4198f400cd2c6ddd28353531aaba996b6697.zip |
merges r24488, r24489 and r24493 from trunk into ruby_1_9_1.
--
* 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.
--
* marshal.c (must_not_be_anonymous): fixed silly miss.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 5474bb3f9..9229bde73 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -729,6 +729,7 @@ 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_path_to_class(VALUE); VALUE rb_path2class(const char*); void rb_name_class(VALUE, ID); VALUE rb_class_name(VALUE); |