![JAR search and dependency download from the Maven repository](/logo.png)
org.purejava.appindicator.atexit$__func 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.Arena;
import java.lang.foreign.MemorySegment;
/**
* {@snippet :
* void (*atexit$__func)();
* }
*/
public interface atexit$__func {
void apply();
static MemorySegment allocate(atexit$__func fi, Arena scope) {
return RuntimeHelper.upcallStub(constants$89.const$4, fi, constants$7.const$5, scope);
}
static atexit$__func ofAddress(MemorySegment addr, Arena arena) {
MemorySegment symbol = addr.reinterpret(arena, null);
return () -> {
try {
constants$64.const$1.invokeExact(symbol);
} catch (Throwable ex$) {
throw new AssertionError("should not reach here", ex$);
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy