Function tcl::ser::to_c_str

source ·
pub fn to_c_str<T: Serialize>(
    value: &T
) -> Result<(c_int, *mut c_char), SerError>
Expand description

Serialize the given data structure as a Tcl string, returning the length and address of a MUTF-8, C-style string.

§Errors

Serialization will never fail.