1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
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
..
defines.h * include/ruby/defines.h: no longer provide DEFAULT_KCODE. 2007-10-05 17:39:59 +00:00
encoding.h * encoding.c (rb_cEncoding): new Encoding class. 2007-10-13 16:32:40 +00:00
intern.h * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility. 2007-10-11 13:20:14 +00:00
io.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
missing.h
node.h * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility. 2007-10-11 13:20:14 +00:00
oniguruma.h * include/ruby/oniguruma.h (OnigEncodingTypeST): add OnigEncoding 2007-10-10 15:05:32 +00:00
re.h * re.c (kcode_setter): Perl-ish global variable `$=' no longer 2007-10-04 07:31:50 +00:00
regex.h * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui 2007-09-06 12:33:45 +00:00
ruby.h refined again. 2007-10-07 10:41:23 +00:00
signal.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
st.h * encoding.c (rb_enc_alias): allow encodings multiple aliases. 2007-09-28 19:27:10 +00:00
util.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
win32.h * main.c (main): use platform-independent per-process initialization. 2007-09-29 08:45:24 +00:00