org.lwjgl.nuklear.NkPluginCopyI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-nuklear Show documentation
Show all versions of lwjgl-nuklear Show documentation
A minimal state immediate mode graphical user interface toolkit.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.nuklear;
import org.lwjgl.system.*;
import static org.lwjgl.system.dyncall.DynCallback.*;
/**
* Instances of this interface may be set to the {@link NkClipboard} struct.
*
* Type
*
*
* void (*) (
* nk_handle handle,
* char const *text,
* int len
* )
*/
@FunctionalInterface
@NativeType("nk_plugin_copy")
public interface NkPluginCopyI extends CallbackI.V {
String SIGNATURE = "(ppi)v";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default void callback(long args) {
invoke(
dcbArgPointer(args),
dcbArgPointer(args),
dcbArgInt(args)
);
}
void invoke(@NativeType("nk_handle") long handle, @NativeType("char const *") long text, int len);
}