Make error message more clear

PUBLISHED_FROM=f8e052f1a256f671de133135901b509d39608a82
This commit is contained in:
rojer authored and Cesanta Bot committed 2016-06-07 20:40:25 +00:00
1 parent 06b6bf6185
commit d6ecfe7f24
1 file changed
+5 -4
+5 -4
View File
@@ -1,10 +1,11 @@
--- ---
title: "MG_MK_STR()" title: "mg_mk_str()"
decl_name: "MG_MK_STR" decl_name: "mg_mk_str"
symbol_kind: "func" symbol_kind: "func"
signature: | 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}`.