org.purejava.appindicator.constants$1197 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libappindicator-gtk3-java-full Show documentation
Show all versions of libappindicator-gtk3-java-full Show documentation
Java bindings for libappindicator-gtk3 in 100% pure Java
// Generated by jextract
package org.purejava.appindicator;
import java.lang.foreign.MemoryLayout;
import java.lang.foreign.StructLayout;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.VarHandle;
import static java.lang.foreign.ValueLayout.JAVA_LONG;
final class constants$1197 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$1197() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"g_network_address_get_hostname",
constants$5.const$2
);
static final MethodHandle const$1 = RuntimeHelper.downcallHandle(
"g_network_address_get_port",
constants$186.const$2
);
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"g_network_address_get_scheme",
constants$5.const$2
);
static final StructLayout const$3 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
JAVA_LONG.withName("g_type"),
JAVA_LONG.withName("g_instance_type")
).withName("g_iface"),
RuntimeHelper.POINTER.withName("network_changed"),
RuntimeHelper.POINTER.withName("can_reach"),
RuntimeHelper.POINTER.withName("can_reach_async"),
RuntimeHelper.POINTER.withName("can_reach_finish")
).withName("_GNetworkMonitorInterface");
static final MethodHandle const$4 = RuntimeHelper.upcallHandle(_GNetworkMonitorInterface.network_changed.class, "apply", constants$40.const$2);
static final VarHandle const$5 = constants$1197.const$3.varHandle(MemoryLayout.PathElement.groupElement("network_changed"));
}