summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-05-15 20:46:35 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-05-15 20:46:35 -0700
commitb4efd6c6dc386de5ff9ce9f2c3fba251c34a232b (patch)
treef809d027234c315c17cf86ab84027b9bdf52f170 /lib.h
parent10bbad5126477bbf9e46a37d4c323f87f8273dbb (diff)
downloadtxr-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 33207145..67a35d26 100644
--- a/lib.h
+++ b/lib.h
@@ -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);