org.lwjgl.util.yoga.YGMeasureFuncI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-yoga Show documentation
Show all versions of lwjgl-yoga Show documentation
An open-source, cross-platform layout library that implements Flexbox.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.yoga;
import org.lwjgl.system.*;
import static org.lwjgl.system.dyncall.DynCallback.*;
/**
* Type
*
*
* uint64_t (*) (
* YGNodeRef node,
* float width,
* YGMeasureMode widthMode,
* float height,
* YGMeasureMode heightMode
* )
*/
@FunctionalInterface
@NativeType("YGMeasureFunc")
public interface YGMeasureFuncI extends CallbackI.J {
String SIGNATURE = "(pfifi)l";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default long callback(long args) {
return invoke(
dcbArgPointer(args),
dcbArgFloat(args),
dcbArgInt(args),
dcbArgFloat(args),
dcbArgInt(args)
);
}
/** Use {@link YGMeasureFunc#toLong toLong} to create the return value. */
@NativeType("uint64_t") long invoke(@NativeType("YGNodeRef") long node, float width, @NativeType("YGMeasureMode") int widthMode, float height, @NativeType("YGMeasureMode") int heightMode);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy