Remove extra function from C-clubby

PUBLISHED_FROM=db9afcafce26d2048b1a5ebc90bcd1c06f555ed8
This commit is contained in:
Alexander Alashkin 2016-04-06 09:58:31 +02:00 committed by Marko Mikulicic
parent ccd0167e40
commit dc6b44571f

View File

@ -1,11 +1,10 @@
--- ---
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: |
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. Macro for initializing mg_str.
`NULL` is allowed and becomes `{NULL, 0}`.