All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.purejava.appindicator.atexit$__func Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
// 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