1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/intern.h (rb_time_interval): used in io/wait.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-08-14 04:23:31 +00:00
parent 6fe403b0d7
commit 92cb7d0ad4
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,6 @@
Sat Aug 14 13:20:58 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sat Aug 14 13:23:29 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/intern.h (rb_time_interval): used in io/wait.
* include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
used in ripper.

View file

@ -40,8 +40,6 @@ static VALUE io_ready_p _((VALUE io));
static VALUE io_wait _((int argc, VALUE *argv, VALUE io));
void Init_wait _((void));
EXTERN struct timeval rb_time_interval _((VALUE time));
/*
* call-seq:
* io.nread -> int

View file

@ -792,6 +792,9 @@ VALUE rb_barrier_destroy(VALUE self);
VALUE rb_time_new(time_t, long);
VALUE rb_time_nano_new(time_t, long);
VALUE rb_time_num_new(VALUE, VALUE);
struct timeval rb_time_interval(VALUE num);
struct timeval rb_time_timeval(VALUE time);
struct timespec rb_time_timespec(VALUE time);
/* variable.c */
VALUE rb_mod_name(VALUE);
VALUE rb_class_path(VALUE);