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