mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
adding predicates
This commit is contained in:
parent
3132cb8c42
commit
ad4f044963
2 changed files with 3 additions and 1 deletions
|
@ -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"))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue