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