// Package gobject was automatically generated by github.com/bnema/puregotk DO NOT EDIT package gobject import ( "github.com/ebitengine/purego" "github.com/bnema/puregotk/pkg/core" "github.com/bnema/puregotk/v4/gobject/types" ) // A numerical value which represents the unique identifier of a registered // type. type Type = types.GType var xVariantGetGtype func() types.GType func VariantGetGtype() types.GType { cret := xVariantGetGtype() return cret } func init() { core.SetPackageName("GOBJECT", "gobject-2.0") core.SetSharedLibraries("GOBJECT", []string{"libgobject-2.0.so.0"}) var libs []uintptr for _, libPath := range core.GetPaths("GOBJECT") { lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) if err != nil { panic(err) } libs = append(libs, lib) } core.PuregoSafeRegister(&xVariantGetGtype, libs, "g_variant_get_gtype") }