mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
b3484e595e
commit
d7278b5b32
2 changed files with 8 additions and 10 deletions
8
timev.h
8
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue