VT_Player/third_party/gotk3/glib/gpermission.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

25 lines
1011 B
C

// Same copyright and license as the rest of the files in this project
/*
* GAsyncReadyCallback
*/
extern void goAsyncReadyCallbacks(GObject *source_object, GAsyncResult *res,
gpointer user_data);
static inline void _g_permission_acquire_async(GPermission *permission,
GCancellable *cancellable,
gpointer user_data) {
g_permission_acquire_async(permission, cancellable,
(GAsyncReadyCallback)(goAsyncReadyCallbacks),
user_data);
}
static inline void _g_permission_release_async(GPermission *permission,
GCancellable *cancellable,
gpointer user_data) {
g_permission_release_async(permission, cancellable,
(GAsyncReadyCallback)(goAsyncReadyCallbacks),
user_data);
}