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

org.purejava.appindicator.constants$1197 Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
// Generated by jextract

package org.purejava.appindicator;

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$1197 {

    // Suppresses default constructor, ensuring non-instantiability.
    private constants$1197() {}
    static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
        "g_network_address_get_hostname",
        constants$5.const$2
    );
    static final MethodHandle const$1 = RuntimeHelper.downcallHandle(
        "g_network_address_get_port",
        constants$186.const$2
    );
    static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
        "g_network_address_get_scheme",
        constants$5.const$2
    );
    static final StructLayout const$3 = MemoryLayout.structLayout(
        MemoryLayout.structLayout(
            JAVA_LONG.withName("g_type"),
            JAVA_LONG.withName("g_instance_type")
        ).withName("g_iface"),
        RuntimeHelper.POINTER.withName("network_changed"),
        RuntimeHelper.POINTER.withName("can_reach"),
        RuntimeHelper.POINTER.withName("can_reach_async"),
        RuntimeHelper.POINTER.withName("can_reach_finish")
    ).withName("_GNetworkMonitorInterface");
    static final MethodHandle const$4 = RuntimeHelper.upcallHandle(_GNetworkMonitorInterface.network_changed.class, "apply", constants$40.const$2);
    static final VarHandle const$5 = constants$1197.const$3.varHandle(MemoryLayout.PathElement.groupElement("network_changed"));
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy