summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-18 01:54:57 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-18 01:54:57 +0000
commitafd7e4668f8195a98eb45fd82132d3d11eada77f (patch)
tree9ace92fdcc869453d5e6a2711ddbfb14b2b52a79 /internal.h
parentc6575865aa2186058b92c976257bb78b1edf4ca6 (diff)
* internal.h: declare more internal functions.
* iseq.h (rb_method_get_iseq): declared. * compile.c, eval.c, eval_error.c, iseq.c, parse.y, proc.c, range.c, ruby.c, time.c, util.c, vm.c: don't declare internal functions. * eval.c, parse.y, thread_pthread.c: non-existing function declarations removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index 0bcfb7b8c4..c95c5f87f6 100644
--- a/internal.h
+++ b/internal.h
@@ -25,6 +25,8 @@ struct rb_classext_struct {
struct st_table *const_tbl;
};
+struct vtm; /* defined by timev.h */
+
/* bignum.c */
VALUE rb_big_fdiv(VALUE x, VALUE y);
VALUE rb_big_uminus(VALUE x);
@@ -40,6 +42,7 @@ int rb_dvar_defined(ID);
int rb_local_defined(ID);
int rb_parse_in_eval(void);
int rb_parse_in_main(void);
+VALUE rb_insns_name_array(void);
/* debug.c */
PRINTF_ARGS(void ruby_debug_printf(const char*, ...), 1, 2);
@@ -53,10 +56,19 @@ ID rb_id_encoding(void);
/* encoding.c */
void rb_gc_mark_encodings(void);
+/* error.c */
+NORETURN(PRINTF_ARGS(void rb_compile_bug(const char*, int, const char*, ...), 3, 4));
+VALUE rb_check_backtrace(VALUE);
+
+/* eval.c */
+ID rb_frame_callee(void);
+
/* file.c */
VALUE rb_home_dir(const char *user, VALUE result);
VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict);
void Init_File(void);
+const char *ruby_find_basename(const char *, long *, long *);
+const char *ruby_find_extname(const char *, long *);
/* gc.c */
void Init_heap(void);
@@ -88,6 +100,7 @@ void Init_newline(void);
/* numeric.c */
VALUE rb_rational_reciprocal(VALUE x);
int rb_num_to_uint(VALUE val, unsigned int *ret);
+int ruby_float_step(VALUE from, VALUE to, VALUE step, int excl);
/* parse.y */
VALUE rb_parser_get_yydebug(VALUE);
@@ -103,6 +116,9 @@ VALUE rb_reg_check_preprocess(VALUE);
/* signal.c */
int rb_get_next_signal(void);
+/* strftime.c */
+size_t rb_strftime_timespec(char *s, size_t maxsize, const char *format, const struct vtm *vtm, struct timespec *ts, int gmt);
+
/* string.c */
int rb_str_buf_cat_escaped_char(VALUE result, unsigned int c, int unicode_p);