qt.rs icon indicating copy to clipboard operation
qt.rs copied to clipboard

error bool * => Vec<i8>

Open kitech opened this issue 9 years ago • 4 comments

about qgraphicsitem.rs:6118 `// proto: QTransform QGraphicsItem::itemTransform(const QGraphicsItem * other, bool * ok);

impl<'a> /trait/ QGraphicsItem_itemTransform<QTransform> for (&'a QGraphicsItem, Option<&'a mut Vec>) {`

should be: *mut i8

kitech avatar Feb 21 '16 14:02 kitech

You should use a raw pointer. like *mut T or *const T.

It may be *mut bool,

quininer avatar Feb 21 '16 15:02 quininer

here is a inout parameter, maybe *mut T?

kitech avatar Feb 22 '16 02:02 kitech

@kitech why?

quininer avatar Feb 22 '16 04:02 quininer

bool *ok will be set in the called method, like return value.

kitech avatar Feb 22 '16 05:02 kitech