#[no_mangle]
pub unsafe extern "C" fn ytype_get(
txn: *mut Transaction,
name: *const c_char,
) -> *mut Branch
Expand description
Gets a reference to shared data type instance at the document root-level,
identified by its name
, which must be a null-terminated UTF-8 compatible string.
Returns NULL
if no such structure was defined in the document before.