mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a25fbe3b3e
* parse.y: encoding aware parsing. * parse.y (pragma_encoding): encoding specification pragma. * parse.y (rb_intern3): encoding specified symbols. * string.c (rb_str_length): length based on characters. for older behavior, bytesize method added. * string.c (rb_str_index_m): index based on characters. rindex as well. * string.c (succ_char): encoding aware succeeding string. * string.c (rb_str_reverse): reverse based on characters. * string.c (rb_str_inspect): encoding aware string description. * string.c (rb_str_upcase_bang): encoding aware case conversion. downcase, capitalize, swapcase as well. * string.c (rb_str_tr_bang): tr based on characters. delete, squeeze, tr_s, count as well. * string.c (rb_str_split_m): split based on characters. * string.c (rb_str_each_line): encoding aware each_line. * string.c (rb_str_each_char): added. iteration based on characters. * string.c (rb_str_strip_bang): encoding aware whitespace stripping. lstrip, rstrip as well. * string.c (rb_str_justify): encoding aware justifying (ljust, rjust, center). * string.c (str_encoding): get encoding attribute from a string. * re.c (rb_reg_initialize): encoding aware regular expression * sprintf.c (rb_str_format): formatting (i.e. length count) based on characters. * io.c (rb_io_getc): getc to return one-character string. for older behavior, getbyte method added. * ext/stringio/stringio.c (strio_getc): ditto. * io.c (rb_io_ungetc): allow pushing arbitrary string at the current reading point. * ext/stringio/stringio.c (strio_ungetc): ditto. * ext/strscan/strscan.c: encoding support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
99 lines
2 KiB
C
99 lines
2 KiB
C
/**********************************************************************
|
|
|
|
inits.c -
|
|
|
|
$Author$
|
|
$Date$
|
|
created at: Tue Dec 28 16:01:58 JST 1993
|
|
|
|
Copyright (C) 1993-2007 Yukihiro Matsumoto
|
|
|
|
**********************************************************************/
|
|
|
|
#include "ruby/ruby.h"
|
|
|
|
void Init_Array(void);
|
|
void Init_Bignum(void);
|
|
void Init_Binding(void);
|
|
void Init_Comparable(void);
|
|
void Init_Dir(void);
|
|
void Init_Enumerable(void);
|
|
void Init_Enumerator(void);
|
|
void Init_Exception(void);
|
|
void Init_syserr(void);
|
|
void Init_eval(void);
|
|
void Init_load(void);
|
|
void Init_Proc(void);
|
|
void Init_File(void);
|
|
void Init_GC(void);
|
|
void Init_Hash(void);
|
|
void Init_IO(void);
|
|
void Init_Math(void);
|
|
void Init_marshal(void);
|
|
void Init_Numeric(void);
|
|
void Init_Object(void);
|
|
void Init_pack(void);
|
|
void Init_Precision(void);
|
|
void Init_sym(void);
|
|
void Init_id(void);
|
|
void Init_process(void);
|
|
void Init_Random(void);
|
|
void Init_Range(void);
|
|
void Init_Regexp(void);
|
|
void Init_signal(void);
|
|
void Init_String(void);
|
|
void Init_Struct(void);
|
|
void Init_Time(void);
|
|
void Init_var_tables(void);
|
|
void Init_version(void);
|
|
void Init_ISeq(void);
|
|
void Init_VM(void);
|
|
void Init_Thread(void);
|
|
void Init_Cont(void);
|
|
void Init_top_self(void);
|
|
void Init_prelude(void);
|
|
|
|
void
|
|
rb_call_inits()
|
|
{
|
|
Init_sym();
|
|
Init_id();
|
|
Init_var_tables();
|
|
Init_Object();
|
|
Init_top_self();
|
|
Init_Comparable();
|
|
Init_Enumerable();
|
|
Init_Precision();
|
|
Init_String();
|
|
Init_Exception();
|
|
Init_eval();
|
|
Init_jump();
|
|
Init_Numeric();
|
|
Init_Bignum();
|
|
Init_syserr();
|
|
Init_Array();
|
|
Init_Hash();
|
|
Init_Struct();
|
|
Init_Regexp();
|
|
Init_pack();
|
|
Init_Range();
|
|
Init_IO();
|
|
Init_Dir();
|
|
Init_Time();
|
|
Init_Random();
|
|
Init_signal();
|
|
Init_process();
|
|
Init_load();
|
|
Init_Proc();
|
|
Init_Binding();
|
|
Init_Math();
|
|
Init_GC();
|
|
Init_marshal();
|
|
Init_Enumerator();
|
|
Init_VM();
|
|
Init_ISeq();
|
|
Init_Thread();
|
|
Init_Cont();
|
|
Init_version();
|
|
Init_prelude();
|
|
}
|