org.purejava.appindicator.constants$3 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_LONG;
final class constants$3 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$3() {}
static final StructLayout const$0 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
JAVA_LONG.withName("tv_sec"),
JAVA_LONG.withName("tv_nsec")
).withName("it_interval"),
MemoryLayout.structLayout(
JAVA_LONG.withName("tv_sec"),
JAVA_LONG.withName("tv_nsec")
).withName("it_value")
).withName("itimerspec");
static final StructLayout const$1 = MemoryLayout.structLayout(
MemoryLayout.sequenceLayout(13, RuntimeHelper.POINTER).withName("__locales"),
RuntimeHelper.POINTER.withName("__ctype_b"),
RuntimeHelper.POINTER.withName("__ctype_tolower"),
RuntimeHelper.POINTER.withName("__ctype_toupper"),
MemoryLayout.sequenceLayout(13, RuntimeHelper.POINTER).withName("__names")
).withName("__locale_struct");
static final VarHandle const$2 = constants$3.const$1.varHandle(MemoryLayout.PathElement.groupElement("__ctype_b"));
static final VarHandle const$3 = constants$3.const$1.varHandle(MemoryLayout.PathElement.groupElement("__ctype_tolower"));
static final VarHandle const$4 = constants$3.const$1.varHandle(MemoryLayout.PathElement.groupElement("__ctype_toupper"));
static final FunctionDescriptor const$5 = FunctionDescriptor.of(JAVA_LONG);
static final MethodHandle const$6 = RuntimeHelper.downcallHandle(
"clock",
constants$3.const$5
);
}