Open bilelmoussaoui opened 4 months ago
Ok seems like gir doesn't give us a way to know if the array is zero-terminated or not...that makes it more difficult
To avoid generating Option<Vec
>
Why? That seems like the correct thing to do, even if it's inconvenient.
Ok seems like gir doesn't give us a way to know if the array is zero-terminated or not...that makes it more difficult
It's an attribute in the XML though.
It's an attribute in the XML though.
I know, but it is not parsed nor passed around...
I know, but it is not parsed nor passed around...
Uh... what?! :rofl:
We assume always that it's zero-terminated unless there is an array length?
Co-authored-by: Andy Russell arussell123@gmail.com Fixes #1133
Take over of https://github.com/gtk-rs/gir/pull/1136 except it only generates Option if it is not a return type. To avoid generating
Option<Vec<T>>