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

org.lwjgl.nuklear.NkItemGetterI Maven / Gradle / Ivy

There is a newer version: 3.3.4
Show newest version
/*
 * 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 passed to the {@link Nuklear#nk_combo_callback combo_callback} and {@link Nuklear#nk_combobox_callback combobox_callback} functions.
 * 
 * 

Type

* *

 * float (*) (
 *     void *userdata,
 *     int selected,
 *     char const **item
 * )
*/ @FunctionalInterface @NativeType("nk_item_getter") public interface NkItemGetterI extends CallbackI.F { String SIGNATURE = "(pip)f"; @Override default String getSignature() { return SIGNATURE; } @Override default float callback(long args) { return invoke( dcbArgPointer(args), dcbArgInt(args), dcbArgPointer(args) ); } float invoke(@NativeType("void *") long userdata, int selected, @NativeType("char const **") long item); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy