Commit 42f5a3e2 authored by Sergey Lyubka's avatar Sergey Lyubka Committed by Marko Mikulicic

Use cesanta GA code

PUBLISHED_FROM=197c9c874ea950aae8f3fd475d2a3ff836d0caab
parent 8a62005a
--- ---
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}`.
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