Function yrs::ydoc_collection_id

source ยท
#[no_mangle]
pub unsafe extern "C" fn ydoc_collection_id(
    doc: *mut Doc
) -> *mut c_char
Expand description

Returns a collection identifier of this Doc instance. If none was defined, a NULL will be returned.

Generated string resources should be released using ystring_destroy function.