Commit 632153a1 authored by rojer's avatar rojer Committed by Sergey Lyubka

Fix FNC CLI logging

PUBLISHED_FROM=171b25e15cad2c87eb40a8123fe8ea07e34c41f7
parent f9d0ad9d
---
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.
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