summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-02-08 11:32:11 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-09-10 20:00:06 +0900
commita88bd246cafc584ddaccef45b31b35a42f3cdd50 (patch)
treeef683fce582070d9e3b1f55777690c1708c0e3e5 /time.c
parentcbf9fc6b0210488713750ca7b53de2b83d667e05 (diff)
include/ruby/internal/intern/time.h: add doxygen
Must not be a bad idea to improve documents. [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'time.c')
-rw-r--r--time.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/time.c b/time.c
index fb2f671fe0..a459f56dc2 100644
--- a/time.c
+++ b/time.c
@@ -2474,11 +2474,6 @@ rb_time_nano_new(time_t sec, long nsec)
return time_new_timew(rb_cTime, nsec2timew(sec, nsec));
}
-/**
- * Returns a time object with UTC/localtime/fixed offset
- *
- * offset is -86400 < fixoff < 86400 or INT_MAX (localtime) or INT_MAX-1 (utc)
- */
VALUE
rb_time_timespec_new(const struct timespec *ts, int offset)
{