org.purejava.appindicator.constants$1195 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_INT;
import static java.lang.foreign.ValueLayout.JAVA_LONG;
final class constants$1195 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$1195() {}
static final MethodHandle const$0 = RuntimeHelper.upcallHandle(_GNativeVolumeMonitorClass.get_mount_for_mount_path.class, "apply", constants$5.const$5);
static final VarHandle const$1 = constants$1194.const$5.varHandle(MemoryLayout.PathElement.groupElement("get_mount_for_mount_path"));
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"g_native_volume_monitor_get_type",
constants$3.const$5
);
static final StructLayout const$3 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
MemoryLayout.structLayout(
RuntimeHelper.POINTER.withName("g_class")
).withName("g_type_instance"),
JAVA_INT.withName("ref_count"),
MemoryLayout.paddingLayout(4),
RuntimeHelper.POINTER.withName("qdata")
).withName("parent_instance"),
RuntimeHelper.POINTER.withName("priv")
).withName("_GNetworkAddress");
static final VarHandle const$4 = constants$1195.const$3.varHandle(MemoryLayout.PathElement.groupElement("priv"));
static final StructLayout const$5 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
MemoryLayout.structLayout(
JAVA_LONG.withName("g_type")
).withName("g_type_class"),
RuntimeHelper.POINTER.withName("construct_properties"),
RuntimeHelper.POINTER.withName("constructor"),
RuntimeHelper.POINTER.withName("set_property"),
RuntimeHelper.POINTER.withName("get_property"),
RuntimeHelper.POINTER.withName("dispose"),
RuntimeHelper.POINTER.withName("finalize"),
RuntimeHelper.POINTER.withName("dispatch_properties_changed"),
RuntimeHelper.POINTER.withName("notify"),
RuntimeHelper.POINTER.withName("constructed"),
JAVA_LONG.withName("flags"),
JAVA_LONG.withName("n_construct_properties"),
RuntimeHelper.POINTER.withName("pspecs"),
JAVA_LONG.withName("n_pspecs"),
MemoryLayout.sequenceLayout(3, RuntimeHelper.POINTER).withName("pdummy")
).withName("parent_class")
).withName("_GNetworkAddressClass");
}