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 | 69296e73288218a2aac1fc9cc25b2260123acdbb (patch) | |
tree | 735c52962da45e645b91a4432b306c527c1af803 /include | |
parent | a6cd7201486efa5c1f2427d9ab9032add386e903 (diff) | |
download | ruby-69296e73288218a2aac1fc9cc25b2260123acdbb.tar.gz |
* 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')
-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); |