mongoose/docs/c-api/util.h/mg_mk_str.md
Marko Mikulicic ccf67dbf05 Add smart.js repo to srcfs
PUBLISHED_FROM=ebcd95607742a327cc0f453681f576982a8f027d
2016-03-21 22:45:51 +00:00

12 lines
239 B
Markdown

---
title: "mg_mk_str()"
decl_name: "mg_mk_str"
symbol_kind: "func"
signature: |
struct mg_str mg_mk_str(const char *s);
---
A helper function for creating mg_str struct from plain C string.
`NULL` is allowed and becomes `{NULL, 0}`.