diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-13 16:32:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-13 16:32:40 +0000 |
commit | 63a96b313b5f1aff1edfd86e688b5519a8974af5 (patch) | |
tree | 643eb5108a159edcf6791d2de80f4601348129b3 /array.c | |
parent | 03dad72bf8b5e40888bd7bc5a43a4dd624f4d45e (diff) | |
download | ruby-63a96b313b5f1aff1edfd86e688b5519a8974af5.tar.gz ruby-63a96b313b5f1aff1edfd86e688b5519a8974af5.tar.xz ruby-63a96b313b5f1aff1edfd86e688b5519a8974af5.zip |
* encoding.c (rb_cEncoding): new Encoding class.
* encoding.c (rb_to_encoding, rb_to_encoding_index): helper functions.
* encoding.c (rb_obj_encoding): return Encoding object now.
* gc.c (garbage_collect): mark Encoding objects.
* string.c (rb_str_force_encoding): accept Encoding object as well as
encoding name.
* include/ruby/encoding.h (rb_to_encoding_index, rb_to_encoding):
prototypes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions