Function panda_sys::type_register[][src]

pub unsafe extern "C" fn type_register(info: *const TypeInfo) -> Type
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.