diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-05-15 20:46:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-05-15 20:46:35 -0700 |
commit | b4efd6c6dc386de5ff9ce9f2c3fba251c34a232b (patch) | |
tree | f809d027234c315c17cf86ab84027b9bdf52f170 /lib.h | |
parent | 10bbad5126477bbf9e46a37d4c323f87f8273dbb (diff) | |
download | txr-b4efd6c6dc386de5ff9ce9f2c3fba251c34a232b.tar.gz txr-b4efd6c6dc386de5ff9ce9f2c3fba251c34a232b.tar.bz2 txr-b4efd6c6dc386de5ff9ce9f2c3fba251c34a232b.zip |
* eval.c (eval_init): New intrinsics, time-string-local and
time-string-utc.
* lib.c (string_time): New static function.
(time_string_local, time_string_utc): New functions.
* lib.h (time_string_local, time_string_utc): Declared.
* txr.1: Documented.
* RELNOTES: Updated.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -663,6 +663,8 @@ val tostring(val obj); val tostringp(val obj); val time_sec(void); val time_sec_usec(void); +val time_string_local(val time, val format); +val time_string_utc(val time, val format); void init(const wchar_t *progname, mem_t *(*oom_realloc)(mem_t *, size_t), val *stack_bottom); |