Function panda_sys::type_register_static
source · pub unsafe extern "C" fn type_register_static(
info: *const TypeInfo
) -> Type
Expand description
type_register_static: @info: The #TypeInfo of the new type.
@info and all of the strings it points to should exist for the life time that the type is registered.
Returns: 0 on failure, the new #Type on success.