msys.core.string_new
Last updated March 2020
Name
msys.core.string_new — Create an ec_string
Synopsis
msys.core.string_new();
Description
Create userdata of the ec_string type. Some functions such as msg:get_envelope2
, require ec_string type userdata, the Lua rendering of the C struct, string.
Because this function is in the msys.core
namespace, an explicit require('msys.core')
is not necessary.
For a code example see “msg:binding example”.
Was this page helpful?