summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-01 12:48:06 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-01 12:48:06 -0500
commit869bd80eacff24151b92e496ee6b0cade56d9e59 (patch)
tree3c64d22855203be239df77b4bd617fbcf3a6257a /src/c
parent66ea568ab5cd2b187a305ef6d22c8cfaf2a6c629 (diff)
Proper [un]urlification of unit
Diffstat (limited to 'src/c')
-rw-r--r--src/c/urweb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index a54d427a..e7495347 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -1793,6 +1793,11 @@ uw_Basis_string uw_Basis_unurlifyString(uw_context ctx, char **s) {
return r;
}
+uw_Basis_unit uw_Basis_unurlifyUnit(uw_context ctx, char **s) {
+ *s = uw_unurlify_advance(*s);
+ return uw_unit_v;
+}
+
uw_Basis_string uw_Basis_unurlifyString_fromClient(uw_context ctx, char **s) {
char *new_s = uw_unurlify_advance(*s);
char *r, *s1, *s2;