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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -224,3 +224,13 @@ struct: Pixdata
noProperty: pixel_data

move: pixbuf_from_pixdata Pixbuf from_pixdata

# 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.
noCode: from_pixbuf

# Add missing include for FILE* that GdkPixbufModule needs inside 'girepo/gdkpixbuf/c/types.d'.
addAliases: start
private import core.stdc.stdio : FILE;
addAliases: end