VT_Player/third_party/gotk3/gdk/pixbuf.go.h
Stu d4efa91ce1 Add vendored gotk3 GTK3 bindings for Go
Vendor gotk3 library to ensure consistent GTK3 bindings across
environments and simplify dependency management.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 05:40:43 -05:00

27 lines
870 B
C

// Same copyright and license as the rest of the files in this project
#include <stdlib.h>
static GdkPixbuf *toGdkPixbuf(void *p) { return (GDK_PIXBUF(p)); }
static GdkPixbufAnimation *toGdkPixbufAnimation(void *p) {
return (GDK_PIXBUF_ANIMATION(p));
}
static gboolean
_gdk_pixbuf_save_png(GdkPixbuf *pixbuf, const char *filename, GError **err,
const char *compression) {
return gdk_pixbuf_save(pixbuf, filename, "png", err, "compression",
compression, NULL);
}
static gboolean _gdk_pixbuf_save_jpeg(GdkPixbuf *pixbuf, const char *filename,
GError **err, const char *quality) {
return gdk_pixbuf_save(pixbuf, filename, "jpeg", err, "quality", quality,
NULL);
}
static GdkPixbufLoader *toGdkPixbufLoader(void *p) {
return (GDK_PIXBUF_LOADER(p));
}