org.purejava.appindicator.constants$797 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$797 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$797() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"g_bytes_icon_get_type",
constants$3.const$5
);
static final MethodHandle const$1 = RuntimeHelper.downcallHandle(
"g_bytes_icon_new",
constants$5.const$2
);
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"g_bytes_icon_get_bytes",
constants$5.const$2
);
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("_GCancellable");
static final VarHandle const$4 = constants$797.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"),
RuntimeHelper.POINTER.withName("cancelled"),
RuntimeHelper.POINTER.withName("_g_reserved1"),
RuntimeHelper.POINTER.withName("_g_reserved2"),
RuntimeHelper.POINTER.withName("_g_reserved3"),
RuntimeHelper.POINTER.withName("_g_reserved4"),
RuntimeHelper.POINTER.withName("_g_reserved5")
).withName("_GCancellableClass");
}