Commit e5ae1c2e authored by Marko Mikulicic's avatar Marko Mikulicic Committed by rojer

Fix SJS websocket constructor

Closes cesanta/smart.js#119

PUBLISHED_FROM=b912e99d457dbf21b3f8ccc6a51d0990cc3db833
parent d2844580
---
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}`.
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