2000-05-01 09:42:38 +00:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
intern.h -
|
|
|
|
|
|
|
|
$Author$
|
|
|
|
created at: Thu Jun 10 14:22:17 JST 1993
|
|
|
|
|
* encoding.c: provide basic features for M17N.
* 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
2007-08-25 03:29:39 +00:00
|
|
|
Copyright (C) 1993-2007 Yukihiro Matsumoto
|
2000-05-01 09:42:38 +00:00
|
|
|
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
2000-05-09 04:53:16 +00:00
|
|
|
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
2000-05-01 09:42:38 +00:00
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
2004-02-16 06:45:32 +00:00
|
|
|
#ifndef RUBY_INTERN_H
|
|
|
|
#define RUBY_INTERN_H 1
|
|
|
|
|
2020-04-08 13:28:13 +09:00
|
|
|
#include "ruby/3/config.h"
|
2010-07-27 09:33:55 +00:00
|
|
|
#include "ruby/defines.h"
|
|
|
|
|
2005-07-23 01:02:18 +00:00
|
|
|
#ifdef HAVE_STDARG_PROTOTYPES
|
|
|
|
# include <stdarg.h>
|
|
|
|
#else
|
|
|
|
# include <varargs.h>
|
|
|
|
#endif
|
2013-03-16 05:07:14 +00:00
|
|
|
|
2008-07-12 13:30:46 +00:00
|
|
|
#include "ruby/st.h"
|
2005-07-23 01:02:18 +00:00
|
|
|
|
2008-12-09 07:14:13 +00:00
|
|
|
/*
|
2000-05-01 09:42:38 +00:00
|
|
|
* Functions and variables that are used by more than one source file of
|
|
|
|
* the kernel.
|
1998-01-16 12:19:09 +00:00
|
|
|
*/
|
|
|
|
|
2020-04-08 13:28:13 +09:00
|
|
|
#include "ruby/3/intern/array.h"
|
|
|
|
#include "ruby/3/intern/bignum.h"
|
|
|
|
#include "ruby/3/intern/class.h"
|
|
|
|
#include "ruby/3/intern/compar.h"
|
|
|
|
#include "ruby/3/intern/complex.h"
|
|
|
|
#include "ruby/3/intern/cont.h"
|
|
|
|
#include "ruby/3/intern/dir.h"
|
|
|
|
#include "ruby/3/intern/enum.h"
|
|
|
|
#include "ruby/3/intern/enumerator.h"
|
|
|
|
#include "ruby/3/intern/error.h"
|
|
|
|
#include "ruby/3/intern/eval.h"
|
|
|
|
#include "ruby/3/intern/file.h"
|
|
|
|
#include "ruby/3/intern/gc.h"
|
|
|
|
#include "ruby/3/intern/hash.h"
|
|
|
|
#include "ruby/3/intern/io.h"
|
|
|
|
#include "ruby/3/intern/load.h"
|
|
|
|
#include "ruby/3/intern/marshal.h"
|
|
|
|
#include "ruby/3/intern/numeric.h"
|
|
|
|
#include "ruby/3/intern/object.h"
|
|
|
|
#include "ruby/3/intern/parse.h"
|
|
|
|
#include "ruby/3/intern/proc.h"
|
|
|
|
#include "ruby/3/intern/process.h"
|
|
|
|
#include "ruby/3/intern/random.h"
|
|
|
|
#include "ruby/3/intern/range.h"
|
|
|
|
#include "ruby/3/intern/rational.h"
|
|
|
|
#include "ruby/3/intern/re.h"
|
|
|
|
#include "ruby/3/intern/ruby.h"
|
|
|
|
#include "ruby/3/intern/select.h"
|
|
|
|
#include "ruby/3/intern/signal.h"
|
|
|
|
#include "ruby/3/intern/sprintf.h"
|
|
|
|
#include "ruby/3/intern/string.h"
|
|
|
|
#include "ruby/3/intern/struct.h"
|
|
|
|
#include "ruby/3/intern/thread.h"
|
|
|
|
#include "ruby/3/intern/time.h"
|
|
|
|
#include "ruby/3/intern/variable.h"
|
|
|
|
#include "ruby/3/intern/vm.h"
|
2019-10-12 17:21:05 +09:00
|
|
|
|
2004-02-16 06:45:32 +00:00
|
|
|
#endif /* RUBY_INTERN_H */
|