-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
[BUG] gio::DataInputStream::read_upto
fails because FromGlibContainer::from_glib_full_num
is unimplemented
#1237
Comments
That can and should of course be implemented :) Do you want to provide a PR for that, or should I? |
@sdroege I would have to figure out what exactly these functions are supposed to do and how any of this works first. So if you already know what to do here, I would greatly appreciate it if you could take care of this :) |
Sure, will do that tomorrow. I just didn't want to do it right away in case you already started |
See #1238 |
@sdroege Thank you! |
They're transfer full and need to be freed, which wouldn't be possible for a const pointer. Fixes gtk-rs#1237
Bug description
I wanted to read an entire file using
gio::DataInputStream::read_upto
but it fails when callingFromGlibContainer::from_glib_full_num
here.Backtrace
The text was updated successfully, but these errors were encountered: