comparison src/c/urweb.c @ 1109:631a3597c065

Proper [un]urlification of unit
author Adam Chlipala <adamc@hcoop.net>
date Fri, 01 Jan 2010 12:48:06 -0500
parents a5c160636832
children 7fc4e0087e50
comparison
equal deleted inserted replaced
1108:82ac88b4e0a7 1109:631a3597c065
1789 1789
1790 r = ctx->heap.front; 1790 r = ctx->heap.front;
1791 ctx->heap.front = uw_unurlifyString_to(0, ctx, ctx->heap.front, *s); 1791 ctx->heap.front = uw_unurlifyString_to(0, ctx, ctx->heap.front, *s);
1792 *s = new_s; 1792 *s = new_s;
1793 return r; 1793 return r;
1794 }
1795
1796 uw_Basis_unit uw_Basis_unurlifyUnit(uw_context ctx, char **s) {
1797 *s = uw_unurlify_advance(*s);
1798 return uw_unit_v;
1794 } 1799 }
1795 1800
1796 uw_Basis_string uw_Basis_unurlifyString_fromClient(uw_context ctx, char **s) { 1801 uw_Basis_string uw_Basis_unurlifyString_fromClient(uw_context ctx, char **s) {
1797 char *new_s = uw_unurlify_advance(*s); 1802 char *new_s = uw_unurlify_advance(*s);
1798 char *r, *s1, *s2; 1803 char *r, *s1, *s2;