Minor cleanup after line numbers feature

PUBLISHED_FROM=302ebfe7d711602e75c8db4bc843b0d52a382542
This commit is contained in:
Marko Mikulicic authored and rojer committed 2016-04-28 13:51:19 +01:00
1 parent 9939212379
commit 8fcd1906a2
1 file changed
+5 -4
+5 -4
View File
@@ -1,10 +1,11 @@
---
title: "MG_MK_STR()"
decl_name: "MG_MK_STR"
title: "mg_mk_str()"
decl_name: "mg_mk_str"
symbol_kind: "func"
signature: |
#define MG_MK_STR(str_literal);
struct mg_str mg_mk_str(const char *s);
---
Macro for initializing mg_str.
A helper function for creating mg_str struct from plain C string.
`NULL` is allowed and becomes `{NULL, 0}`.