type_register

Function type_register 

Source
pub unsafe extern "C" fn type_register(
    info: *const TypeInfo,
) -> *mut TypeImpl
Expand description

type_register: @info: The #TypeInfo of the new type

Unlike type_register_static(), this call does not require @info or its string members to continue to exist after the call returns.

Returns: 0 on failure, the new #Type on success.