Fix FNC CLI logging

PUBLISHED_FROM=171b25e15cad2c87eb40a8123fe8ea07e34c41f7
This commit is contained in:
rojer 2016-06-15 15:43:01 +03:00 committed by Sergey Lyubka
parent f9d0ad9dc3
commit 632153a1b4

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.