aboutsummaryrefslogtreecommitdiffstats
path: root/timev.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 13:42:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 13:42:02 +0000
commit3f788ba38d9dba01f99bcea725f3cd9e6df2fd44 (patch)
tree029965b65f83385091dfcb15d6b065806448e1e8 /timev.h
parent5b3a155cf94fc960c25b69c1552da15b222ef58a (diff)
downloadruby-3f788ba38d9dba01f99bcea725f3cd9e6df2fd44.tar.gz
Moved `struct vtm` stuff from internal.h to timev.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'timev.h')
-rw-r--r--timev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/timev.h b/timev.h
index e1fc73c398..62ab4dfb94 100644
--- a/timev.h
+++ b/timev.h
@@ -39,4 +39,12 @@ typedef unsigned LONG_LONG unsigned_time_t;
# error cannot find integer type which size is same as time_t.
#endif
+/* strftime.c */
+#ifdef RUBY_ENCODING_H
+VALUE rb_strftime_timespec(const char *format, size_t format_len, rb_encoding *enc,
+ const struct vtm *vtm, struct timespec *ts, int gmt);
+VALUE rb_strftime(const char *format, size_t format_len, rb_encoding *enc,
+ const struct vtm *vtm, VALUE timev, int gmt);
+#endif
+
#endif