diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-01-20 10:40:40 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-01-20 10:40:40 -0500 |
commit | 6ec77d7dce5bbc965d0dc44545f3f15d8a9fb181 (patch) | |
tree | 8ea100260dd57a167615ea4ec995238f6158cebe /src/c | |
parent | d6272d8c20892d1ce78c15c8e444916bb150e119 (diff) |
Patch from Vladimir Shabanov to support implicit passing of 'time' values from server to client
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/urweb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index be13b9e2..382c9d77 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -1773,6 +1773,10 @@ uw_Basis_string uw_Basis_urlifyTime(uw_context ctx, uw_Basis_time t) { return uw_Basis_urlifyInt(ctx, (uw_Basis_int)t.seconds * 1000000 + t.microseconds); } +uw_unit uw_Basis_urlifyTime_w(uw_context ctx, uw_Basis_time t) { + return uw_Basis_urlifyInt_w(ctx, (uw_Basis_int)t.seconds * 1000000 + t.microseconds); +} + uw_unit uw_Basis_urlifyString_w(uw_context ctx, uw_Basis_string s) { if (s[0] == '\0') { uw_check(ctx, 1); |