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

Fix compilation due to broken generated GdkPixbuf code #90

Merged
merged 1 commit into from May 2, 2021

Conversation

Vild
Copy link
Contributor

@Vild Vild commented May 2, 2021

Gir-to-d tries to handle the return value of 'gdk_pixdata_from_pixbuf' as if it is zero-terminated.
Which causes it to try to use 'getArrayLength' on a void*, causing a compilation error.
Temporary fix for now is to just not export that function.

Additionally, Add missing include for 'FILE*' that GdkPixbufModule needs
inside 'girepo/gdkpixbuf/c/types.d'.

Gir-to-d tries to handle the return value of 'gdk_pixdata_from_pixbuf'
as if it is zero-terminated.
Which causes it to try to use 'getArrayLength' on a void*, causing a
compilation error.
Temporary fix for now is to just not export that function.

Additionally, Add missing include for 'FILE*' that GdkPixbufModule needs
inside 'girepo/gdkpixbuf/c/types.d'.

Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>
@ximion
Copy link
Owner

ximion commented May 2, 2021

Nice, thank you! :-)

@ximion ximion merged commit d5dad3b into ximion:master May 2, 2021
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants