1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include
nobu 9c24fed339 * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-13 16:32:40 +00:00
..
ruby * encoding.c (rb_cEncoding): new Encoding class. 2007-10-13 16:32:40 +00:00
ruby.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
rubyio.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
rubysig.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00