Function panda_sys::object_dynamic_cast [−][src]
pub unsafe extern "C" fn object_dynamic_cast(
obj: *mut Object,
typename: *const c_char
) -> *mut Object
Expand description
object_dynamic_cast: @obj: The object to cast. @typename: The @typename to cast to.
This function will determine if @obj is-a @typename. @obj can refer to an object or an interface associated with an object.
Returns: This function returns @obj on success or #NULL on failure.