pub unsafe fn arc_get_mode(obj: *const Object) -> Result<ArcMode>
This function is unsafe because it may dereference raw pointers.