diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 02:59:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 02:59:47 +0000 |
commit | f1df08e76deadd8a22dc53b86d68cad5f6c11c22 (patch) | |
tree | 735c52962da45e645b91a4432b306c527c1af803 /include/ruby/intern.h | |
parent | 1ed3287af18b47e541b93116f24c08284d79e9e0 (diff) |
* time.c (rb_timespec_now): added.
* time.c (rb_time_timespec_new): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index af6b75d6d4..3fb1637593 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -919,8 +919,10 @@ VALUE rb_mutex_unlock(VALUE mutex); VALUE rb_mutex_sleep(VALUE self, VALUE timeout); VALUE rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg); /* time.c */ +void rb_timespec_now(struct timespec *); VALUE rb_time_new(time_t, long); VALUE rb_time_nano_new(time_t, long); +VALUE rb_time_timespec_new(const struct timespec *, int); VALUE rb_time_num_new(VALUE, VALUE); struct timeval rb_time_interval(VALUE num); struct timeval rb_time_timeval(VALUE time); |