Added Virtual File System support
This commit is contained in:
parent
363c4f19cb
commit
01f4ad7f62
18 changed files with 4582 additions and 64 deletions
4
html.h
4
html.h
|
|
@ -39,9 +39,9 @@ typedef struct {
|
|||
} html_tag_t;
|
||||
|
||||
static void html__tag(html_context_t *ctx, const char *tag, html_tag_t *args) {
|
||||
ostrPrintf(&ctx->stream, "<%s ", tag);
|
||||
ostrPrintf(&ctx->stream, "<%s", tag);
|
||||
|
||||
#define X(name, ...) if (args->name) { ostrPrintf(&ctx->stream, #name "=\"%s\" ", args->name); }
|
||||
#define X(name, ...) if (args->name) { ostrPrintf(&ctx->stream, " " #name "=\"%s\"", args->name); }
|
||||
html__args()
|
||||
#undef X
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue