Mercurial > urweb
comparison src/c/urweb.c @ 2224:5709482a2afd
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Thu, 11 Dec 2014 02:05:41 -0500 |
parents | 794017f378de fd6d362666c0 |
children | e10881cd92da |
comparison
equal
deleted
inserted
replaced
2223:9410959d296f | 2224:5709482a2afd |
---|---|
1660 } | 1660 } |
1661 | 1661 |
1662 void uw_writec(uw_context ctx, char c) { | 1662 void uw_writec(uw_context ctx, char c) { |
1663 uw_check(ctx, 2); | 1663 uw_check(ctx, 2); |
1664 uw_writec_unsafe(ctx, c); | 1664 uw_writec_unsafe(ctx, c); |
1665 } | |
1666 | |
1667 void uw_Basis_writec(uw_context ctx, char c) { | |
1668 uw_writec(ctx, c); | |
1665 } | 1669 } |
1666 | 1670 |
1667 static void uw_write_unsafe(uw_context ctx, const char* s) { | 1671 static void uw_write_unsafe(uw_context ctx, const char* s) { |
1668 int len = strlen(s); | 1672 int len = strlen(s); |
1669 memcpy(ctx->page.front, s, len); | 1673 memcpy(ctx->page.front, s, len); |