From 0be132f3b56c2612014a53d5b5251bbf13e7894c Mon Sep 17 00:00:00 2001 From: Dmitry Frank <dmitry.frank@cesanta.com> Date: Fri, 8 Apr 2016 10:45:18 +0300 Subject: [PATCH] Improve Android app Now it can talk to backend as well to the demo device: `LCD.AddLine`, `LED.Set`, `LED.Get`. PUBLISHED_FROM=40f493cdabe6ad23a6f26a4563366bebb5071529 --- docs/c-api/util.h/mg_mk_str.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/c-api/util.h/mg_mk_str.md b/docs/c-api/util.h/mg_mk_str.md index 4862e8625..89afcefde 100644 --- a/docs/c-api/util.h/mg_mk_str.md +++ b/docs/c-api/util.h/mg_mk_str.md @@ -1,10 +1,11 @@ --- -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}`. -- GitLab