forked from Leak_Technologies/VideoTools
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>
27 lines
648 B
C
27 lines
648 B
C
// Same copyright and license as the rest of the files in this project
|
|
|
|
// GVariant : GVariant — strongly typed value datatype
|
|
// https://developer.gnome.org/glib/2.26/glib-GVariant.html
|
|
|
|
#ifndef __GVARIANT_GO_H__
|
|
#define __GVARIANT_GO_H__
|
|
|
|
#include <glib.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
// Type Casting
|
|
|
|
static GVariant *toGVariant(void *p) { return (GVariant *)p; }
|
|
|
|
static GVariantBuilder *toGVariantBuilder(void *p) {
|
|
return (GVariantBuilder *)p;
|
|
}
|
|
|
|
static GVariantDict *toGVariantDict(void *p) { return (GVariantDict *)p; }
|
|
|
|
static GVariantIter *toGVariantIter(void *p) { return (GVariantIter *)p; }
|
|
|
|
#endif
|