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

org.gnome.gtk.NativeMethodHandles Maven / Gradle / Ivy

The newest version!
// This file was automatically generated by Java-GI. Do not edit this file
// directly! Visit  for more information.
//
// The API documentation in this file was derived from GObject-Introspection
// metadata and may include text or comments from the original C sources.
//
// Copyright (c), upstream authors as identified in the GObject-Introspection
// metadata.
//
// This generated file is distributed under the same license as the original
// GObject-Introspection data, unless otherwise specified. Users of this file
// are responsible for complying with any licenses or terms required by the
// original authors.
//
// THIS FILE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
//
package org.gnome.gtk;

import io.github.jwharm.javagi.interop.Interop;
import java.lang.foreign.FunctionDescriptor;
import java.lang.foreign.ValueLayout;
import java.lang.invoke.MethodHandle;
import javax.annotation.processing.Generated;

@Generated("io.github.jwharm.JavaGI")
final class NativeMethodHandles {
    static final MethodHandle gtk_native_get_for_surface = Interop.downcallHandle(
            "gtk_native_get_for_surface", FunctionDescriptor.of(ValueLayout.ADDRESS,
            ValueLayout.ADDRESS), false);

    static final MethodHandle gtk_native_get_renderer = Interop.downcallHandle(
            "gtk_native_get_renderer", FunctionDescriptor.of(ValueLayout.ADDRESS,
            ValueLayout.ADDRESS), false);

    static final MethodHandle gtk_native_get_surface = Interop.downcallHandle(
            "gtk_native_get_surface", FunctionDescriptor.of(ValueLayout.ADDRESS,
            ValueLayout.ADDRESS), false);

    static final MethodHandle gtk_native_get_surface_transform = Interop.downcallHandle(
            "gtk_native_get_surface_transform", FunctionDescriptor.ofVoid(ValueLayout.ADDRESS,
            ValueLayout.ADDRESS, ValueLayout.ADDRESS), false);

    static final MethodHandle gtk_native_realize = Interop.downcallHandle("gtk_native_realize",
            FunctionDescriptor.ofVoid(ValueLayout.ADDRESS), false);

    static final MethodHandle gtk_native_unrealize = Interop.downcallHandle("gtk_native_unrealize",
            FunctionDescriptor.ofVoid(ValueLayout.ADDRESS), false);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy