adding predicates

This commit is contained in:
Alex Shinn 2010-01-01 23:36:17 +09:00
parent 3132cb8c42
commit ad4f044963
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,8 @@
timeval-seconds timeval-microseconds
timezone-offset timezone-dst-time
time-second time-minute time-hour time-day time-month time-year
time-day-of-week time-day-of-year time-dst?)
time-day-of-week time-day-of-year time-dst?
tm? timeval? timezone?)
(import-immutable (scheme))
(include-shared "time"))

View file

@ -3,6 +3,7 @@
(c-system-include "sys/time.h")
(define-c-struct tm
predicate: tm?
(int tm_sec time-second)
(int tm_min time-minute)
(int tm_hour time-hour)