summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-24 18:29:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-03-24 18:29:34 -0700
commite96cb9e2065a066ede10e3ce36eba828fd42a97b (patch)
tree7fb9c2476df5c2247cba513c307aeec689ed8cec /eval.c
parent4882a1c512a6d64ae8f6de2ed849033f8637cf90 (diff)
downloadtxr-e96cb9e2065a066ede10e3ce36eba828fd42a97b.tar.gz
txr-e96cb9e2065a066ede10e3ce36eba828fd42a97b.tar.bz2
txr-e96cb9e2065a066ede10e3ce36eba828fd42a97b.zip
Methods in time struct: time-local and time-utc.
* lib.c (time_local_s, time_utc_s): New symbol variables. (time_meth): New static function. (time_init): Initialize new symbol variables. Create the time struct with two static slots, and initialize those static slots to be methods. * txr.1: Introduce "the epoch" term. Document the new methods.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions