Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error bool * => Vec<i8> #3

Open
kitech opened this issue Feb 21, 2016 · 4 comments
Open

error bool * => Vec<i8> #3

kitech opened this issue Feb 21, 2016 · 4 comments

Comments

@kitech
Copy link
Owner

kitech commented Feb 21, 2016

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

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

should be: *mut i8

@quininer
Copy link
Contributor

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

It may be *mut bool,

@kitech
Copy link
Owner Author

kitech commented Feb 22, 2016

here is a inout parameter, maybe *mut T?

@quininer
Copy link
Contributor

@kitech why?

@kitech
Copy link
Owner Author

kitech commented Feb 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants