Function js::jsapi::JS_EncodeString [] [src]

pub unsafe extern "C" fn JS_EncodeString(
    cx: *mut JSContext,
    str: *mut JSString
) -> *mut c_char

A variation on JS_EncodeCharacters where a null terminated string is returned that you are expected to call JS_free on when done.