Use cesanta GA code

PUBLISHED_FROM=197c9c874ea950aae8f3fd475d2a3ff836d0caab
This commit is contained in:
Sergey Lyubka 2016-04-13 13:34:11 +02:00 committed by Marko Mikulicic
parent 8a62005a2d
commit 42f5a3e2f7

View File

@ -1,11 +1,10 @@
---
title: "mg_mk_str()"
decl_name: "mg_mk_str"
title: "MG_MK_STR()"
decl_name: "MG_MK_STR"
symbol_kind: "func"
signature: |
struct mg_str mg_mk_str(const char *s);
#define MG_MK_STR(str_literal);
---
A helper function for creating mg_str struct from plain C string.
`NULL` is allowed and becomes `{NULL, 0}`.
Macro for initializing mg_str.