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/intern.h

71 lines
1.9 KiB
C
Raw Normal View History

/**********************************************************************
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
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
Copyright (C) 2000 Information-technology Promotion Agency, Japan
**********************************************************************/
#ifndef RUBY_INTERN_H
#define RUBY_INTERN_H 1
#include "ruby/3/config.h"
#include "ruby/defines.h"
#ifdef HAVE_STDARG_PROTOTYPES
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include "ruby/st.h"
/*
* Functions and variables that are used by more than one source file of
* the kernel.
*/
#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"
#endif /* RUBY_INTERN_H */