summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-08-22 21:08:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-08-22 21:08:14 -0700
commitabd55f06d231eaa918a3ee99a17101005f751e84 (patch)
tree77b4022afa0c2c8eaf37504e46221a4b6c957cf4 /eval.c
parent2ac1a60fa62041345bc461edb3e7d0d74a0055cd (diff)
downloadtxr-abd55f06d231eaa918a3ee99a17101005f751e84.tar.gz
txr-abd55f06d231eaa918a3ee99a17101005f751e84.tar.bz2
txr-abd55f06d231eaa918a3ee99a17101005f751e84.zip
New time-string method on time struct.
* lib.c (time_string_s): New symbol variable. (time_fields_to_tm, time_struct_to_tm): New static functions. (make_time_impl): Replace bunch of code with call to time_fields_to_tm. (time_string_meth): New static function. (time_init): Initialize time_string_s. Add time-string static slot to time struct. Register time-string method. * txr.1: Documented.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions