summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--array.c3
-rw-r--r--compile.c4
-rw-r--r--dir.c3
-rw-r--r--encoding.c1
-rw-r--r--enum.c1
-rw-r--r--error.c3
-rw-r--r--ext/-test-/string/cstr.c1
-rw-r--r--file.c3
-rw-r--r--gc.c1
-rw-r--r--hash.c3
-rw-r--r--internal.h19
-rw-r--r--io.c3
-rw-r--r--load.c3
-rw-r--r--localeinit.c1
-rw-r--r--numeric.c3
-rw-r--r--object.c3
-rw-r--r--pack.c1
-rw-r--r--re.c3
-rw-r--r--ruby.c3
-rw-r--r--sprintf.c3
-rw-r--r--string.c3
-rw-r--r--symbol.c3
-rw-r--r--time.c1
-rw-r--r--transcode.c1
-rw-r--r--variable.c3
-rw-r--r--vm.c1
-rw-r--r--vm_backtrace.c3
-rw-r--r--vm_core.h1
28 files changed, 58 insertions, 23 deletions
@@ -11,9 +11,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/util.h"
#include "ruby/st.h"
#include "probes.h"
#include "id.h"
#include "debug_counter.h"
@@ -9,13 +9,15 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/re.h"
#include "encindex.h"
#include <math.h>
#define USE_INSN_STACK_INCREASE 1
#include "vm_core.h"
#include "iseq.h"
#include "insns.inc"
#include "insns_info.inc"
@@ -11,9 +11,10 @@
**********************************************************************/
#include "internal.h"
#include "encindex.h"
-#include "ruby/thread.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -9,6 +9,7 @@
**********************************************************************/
#include "internal.h"
#include "encindex.h"
#include "regenc.h"
@@ -9,6 +9,7 @@
**********************************************************************/
#include "internal.h"
#include "ruby/util.h"
#include "id.h"
@@ -9,8 +9,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/st.h"
#include "ruby_assert.h"
#include "vm_core.h"
@@ -1,3 +1,4 @@
#include "internal.h"
static VALUE
@@ -24,10 +24,11 @@
#endif
#include "id.h"
-#include "internal.h"
#include "ruby/io.h"
#include "ruby/util.h"
#include "ruby/thread.h"
#include "dln.h"
#include "encindex.h"
@@ -14,6 +14,7 @@
#define rb_data_object_alloc rb_data_object_alloc
#define rb_data_typed_object_alloc rb_data_typed_object_alloc
#include "ruby/io.h"
#include "ruby/st.h"
#include "ruby/re.h"
@@ -11,9 +11,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include <errno.h>
#include "probes.h"
#include "id.h"
@@ -13,7 +13,6 @@
#define RUBY_INTERNAL_H 1
#include "ruby.h"
-#include "ruby/encoding.h"
#if defined(__cplusplus)
extern "C" {
@@ -1149,8 +1148,10 @@ void Init_ext(void);
/* encoding.c */
ID rb_id_encoding(void);
void rb_gc_mark_encodings(void);
rb_encoding *rb_enc_get_from_index(int index);
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
int rb_encdb_replicate(const char *alias, const char *orig);
int rb_encdb_alias(const char *alias, const char *orig);
int rb_encdb_dummy(const char *name);
@@ -1169,21 +1170,23 @@ extern VALUE rb_eEAGAIN;
extern VALUE rb_eEWOULDBLOCK;
extern VALUE rb_eEINPROGRESS;
void rb_report_bug_valist(VALUE file, int line, const char *fmt, va_list args);
-VALUE rb_syntax_error_append(VALUE, VALUE, int, int, rb_encoding*, const char*, va_list);
VALUE rb_check_backtrace(VALUE);
NORETURN(void rb_async_bug_errno(const char *,int));
const char *rb_builtin_type_name(int t);
const char *rb_builtin_class_name(VALUE x);
PRINTF_ARGS(void rb_sys_warn(const char *fmt, ...), 1, 2);
PRINTF_ARGS(void rb_syserr_warn(int err, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_sys_enc_warn(rb_encoding *enc, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_syserr_enc_warn(int err, rb_encoding *enc, const char *fmt, ...), 3, 4);
-PRINTF_ARGS(void rb_sys_warning(const char *fmt, ...), 1, 2);
-PRINTF_ARGS(void rb_syserr_warning(int err, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_sys_enc_warning(rb_encoding *enc, const char *fmt, ...), 2, 3);
PRINTF_ARGS(void rb_syserr_enc_warning(int err, rb_encoding *enc, const char *fmt, ...), 3, 4);
#define rb_raise_cstr(etype, mesg) \
rb_exc_raise(rb_exc_new_str(etype, rb_str_new_cstr(mesg)))
@@ -1801,17 +1804,23 @@ int rb_divert_reserved_fd(int fd);
/* transcode.c */
extern VALUE rb_cEncodingConverter;
size_t rb_econv_memsize(rb_econv_t *);
/* us_ascii.c */
extern rb_encoding OnigEncodingUS_ASCII;
/* util.c */
char *ruby_dtoa(double d_, int mode, int ndigits, int *decpt, int *sign, char **rve);
char *ruby_hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, char **rve);
/* utf_8.c */
extern rb_encoding OnigEncodingUTF_8;
/* variable.c */
void rb_gc_mark_global_tbl(void);
@@ -1932,7 +1941,7 @@ NORETURN(void rb_unexpected_type(VALUE,int));
rb_unexpected_type((VALUE)(v), (t)) : (void)0)
/* file.c (export) */
-#ifdef HAVE_READLINK
VALUE rb_readlink(VALUE path, rb_encoding *enc);
#endif
#ifdef __APPLE__
@@ -11,9 +11,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/io.h"
#include "ruby/thread.h"
#include "dln.h"
#include "encindex.h"
#include "id.h"
@@ -2,8 +2,9 @@
* load methods from eval.c
*/
-#include "internal.h"
#include "ruby/util.h"
#include "dln.h"
#include "eval_intern.h"
#include "probes.h"
@@ -9,6 +9,7 @@
**********************************************************************/
#include "internal.h"
#include "encindex.h"
#ifdef __CYGWIN__
@@ -9,8 +9,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/util.h"
#include "id.h"
#include <assert.h>
#include <ctype.h>
@@ -11,9 +11,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
@@ -9,6 +9,7 @@
**********************************************************************/
#include "internal.h"
#include <sys/types.h>
#include <ctype.h>
@@ -9,9 +9,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/re.h"
#include "ruby/util.h"
#include "regint.h"
#include "encindex.h"
#include <ctype.h>
@@ -15,8 +15,9 @@
#include <windows.h>
#include <sys/cygwin.h>
#endif
-#include "internal.h"
#include "ruby/thread.h"
#include "eval_intern.h"
#include "dln.h"
#include <stdio.h>
@@ -11,8 +11,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/re.h"
#include "id.h"
#include <math.h>
#include <stdarg.h>
@@ -11,8 +11,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/re.h"
#include "encindex.h"
#include "probes.h"
#include "gc.h"
@@ -9,8 +9,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/st.h"
#include "symbol.h"
#include "gc.h"
#include "probes.h"
@@ -11,6 +11,7 @@
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include "internal.h"
#include <sys/types.h>
#include <time.h>
@@ -9,6 +9,7 @@
**********************************************************************/
#include "internal.h"
#include "transcode_data.h"
#include <ctype.h>
@@ -11,9 +11,10 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include "id_table.h"
#include "constant.h"
#include "id.h"
@@ -14,6 +14,7 @@
#include "gc.h"
#include "vm_core.h"
#include "iseq.h"
#include "eval_intern.h"
#include "probes.h"
@@ -9,8 +9,9 @@
**********************************************************************/
-#include "internal.h"
#include "ruby/debug.h"
#include "vm_core.h"
#include "eval_intern.h"
@@ -67,7 +67,6 @@
#include "ruby/st.h"
#include "node.h"
-#include "vm_debug.h"
#include "vm_opts.h"
#include "id.h"
#include "method.h"