Commit d6ecfe7f authored by rojer's avatar rojer Committed by Cesanta Bot

Make error message more clear

PUBLISHED_FROM=f8e052f1a256f671de133135901b509d39608a82
parent 06b6bf61
---
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}`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment