mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-01 05:52:32 +07:00
Fix SJS websocket constructor
Closes cesanta/smart.js#119 PUBLISHED_FROM=b912e99d457dbf21b3f8ccc6a51d0990cc3db833
This commit is contained in:
@@ -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}`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user