Function janus_plugin::create_result [] [src]

pub fn create_result(
    type_: PluginResultType,
    text: *const c_char,
    content: Option<JanssonValue>
) -> Box<PluginResultInfo>

Allocates a Janus plugin result. Should be destroyed with destroy_result.