VideoTools/third_party/gotk3/glib/glib_since_2_44.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

17 lines
556 B
C

// Same copyright and license as the rest of the files in this project
#include <stdlib.h>
#include <glib-object.h>
#include <glib.h>
static GListModel *toGListModel(void *p) { return (G_LIST_MODEL(p)); }
static GListStore *toGListStore(void *p) { return (G_LIST_STORE(p)); }
static inline void _g_list_store_insert_sorted(GListStore *model, gpointer item,
gpointer user_data) {
g_list_store_insert_sorted(model, item,
(GCompareDataFunc)(goCompareDataFuncs), user_data);
}