org.purejava.appindicator.constants$2049 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.FunctionDescriptor;
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_DOUBLE;
import static java.lang.foreign.ValueLayout.JAVA_INT;
final class constants$2049 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$2049() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"atk_range_get_description",
constants$5.const$2
);
static final FunctionDescriptor const$1 = FunctionDescriptor.of(RuntimeHelper.POINTER,
JAVA_DOUBLE,
JAVA_DOUBLE,
RuntimeHelper.POINTER
);
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"atk_range_new",
constants$2049.const$1
);
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"),
RuntimeHelper.POINTER.withName("factory_type_registry"),
RuntimeHelper.POINTER.withName("factory_singleton_cache")
).withName("_AtkRegistry");
static final VarHandle const$4 = constants$2049.const$3.varHandle(MemoryLayout.PathElement.groupElement("factory_type_registry"));
static final VarHandle const$5 = constants$2049.const$3.varHandle(MemoryLayout.PathElement.groupElement("factory_singleton_cache"));
}