diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 14:47:04 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-29 14:47:04 +0000 |
commit | 23658b355c1c62771945cfa86e098ba8dd618779 (patch) | |
tree | 5f996bbb4f88675e72195fe674c4527a9149340d /ext/date/date_tmx.h | |
parent | 64263ddeb6b925866bc4ad2d5c74300af178b896 (diff) | |
download | ruby-23658b355c1c62771945cfa86e098ba8dd618779.tar.gz |
* ext/date/date_core.c: avoided using timev.
* ext/date/date_strftime.c: ditto.
* ext/date/date_tmx.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_tmx.h')
-rw-r--r-- | ext/date/date_tmx.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/date/date_tmx.h b/ext/date/date_tmx.h index 2bdb80c316..0e56c9b4f0 100644 --- a/ext/date/date_tmx.h +++ b/ext/date/date_tmx.h @@ -15,9 +15,11 @@ struct tmx_funcs { int (*hour)(void *dat); int (*min)(void *dat); int (*sec)(void *dat); + VALUE (*sec_fraction)(void *dat); + VALUE (*secs)(void *dat); + VALUE (*msecs)(void *dat); VALUE (*offset)(void *dat); char *(*zone)(void *dat); - VALUE (*timev)(void *dat); }; struct tmx { void *dat; @@ -39,9 +41,11 @@ struct tmx { #define tmx_hour tmx_attr(hour) #define tmx_min tmx_attr(min) #define tmx_sec tmx_attr(sec) +#define tmx_sec_fraction tmx_attr(sec_fraction) +#define tmx_secs tmx_attr(secs) +#define tmx_msecs tmx_attr(msecs) #define tmx_offset tmx_attr(offset) #define tmx_zone tmx_attr(zone) -#define tmx_timev tmx_attr(timev) #endif |