diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-11-11 15:12:24 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-11-11 15:12:24 -0500 |
commit | ded9f1e15308a0ed27c9892d4b0285abc25654f8 (patch) | |
tree | d5ed1a7591b639cb85c0a2e8982c9d9929b42df3 /src/c/urweb.c | |
parent | 5ca452a8576373895301be85a7dfc13746036cac (diff) |
Get preliminary ThreadedBlog working
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r-- | src/c/urweb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 57584f53..a347dd45 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -557,6 +557,10 @@ uw_unit uw_Basis_urlifyFloat_w(uw_context ctx, uw_Basis_float n) { return uw_unit_v; } +uw_Basis_string uw_Basis_urlifyTime(uw_context ctx, uw_Basis_time t) { + return uw_Basis_urlifyInt(ctx, t); +} + uw_unit uw_Basis_urlifyString_w(uw_context ctx, uw_Basis_string s) { uw_check(ctx, strlen(s) * 3); @@ -615,6 +619,10 @@ uw_Basis_float uw_Basis_unurlifyFloat(uw_context ctx, char **s) { return r; } +uw_Basis_time uw_Basis_unurlifyTime(uw_context ctx, char **s) { + return uw_Basis_unurlifyInt(ctx, s); +} + static uw_Basis_string uw_unurlifyString_to(uw_context ctx, char *r, char *s) { char *s1, *s2; int n; |