msys.core.string_new

March 26, 2020 Contributors

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”.