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

org.purejava.appindicator.ssignal$__handler 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 (*ssignal$__handler)(int);
 * }
 */
public interface ssignal$__handler {

    void apply(int _x0);
    static MemorySegment allocate(ssignal$__handler fi, Arena scope) {
        return RuntimeHelper.upcallStub(constants$124.const$2, fi, constants$80.const$1, scope);
    }
    static ssignal$__handler ofAddress(MemorySegment addr, Arena arena) {
        MemorySegment symbol = addr.reinterpret(arena, null);
        return (int __x0) -> {
            try {
                constants$122.const$4.invokeExact(symbol, __x0);
            } catch (Throwable ex$) {
                throw new AssertionError("should not reach here", ex$);
            }
        };
    }
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy