org.purejava.appindicator.constants$2775 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$2775 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$2775() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"gtk_style_provider_get_style",
constants$5.const$5
);
static final MethodHandle const$1 = RuntimeHelper.downcallHandle(
"gtk_style_provider_get_style_property",
constants$859.const$1
);
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"gtk_style_provider_get_icon_factory",
constants$5.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_object"),
RuntimeHelper.POINTER.withName("priv")
).withName("_GtkStyleContext");
static final VarHandle const$4 = constants$2775.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("changed"),
RuntimeHelper.POINTER.withName("_gtk_reserved1"),
RuntimeHelper.POINTER.withName("_gtk_reserved2"),
RuntimeHelper.POINTER.withName("_gtk_reserved3"),
RuntimeHelper.POINTER.withName("_gtk_reserved4")
).withName("_GtkStyleContextClass");
}