// Package gio was automatically generated by github.com/bnema/puregotk DO NOT EDIT package gio import ( "github.com/ebitengine/purego" "github.com/bnema/puregotk/pkg/core" ) var xNetworkingInit func() // Initializes the platform networking libraries (eg, on Windows, this // calls WSAStartup()). GLib will call this itself if it is needed, so // you only need to call it if you directly call system networking // functions (without calling any GLib networking functions first). func NetworkingInit() { xNetworkingInit() } func init() { core.SetPackageName("GIO", "gio-2.0") core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0"}) var libs []uintptr for _, libPath := range core.GetPaths("GIO") { lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) if err != nil { panic(err) } libs = append(libs, lib) } core.PuregoSafeRegister(&xNetworkingInit, libs, "g_networking_init") }