
org.lwjgl.util.yoga.StartMarkerCallbackI 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.*;
/**
* Instances of this interface may be set to the {@code startMarker} field of the {@link YGMarkerCallbacks} struct.
*
* Type
*
*
* void * (*) (
* YGMarker marker,
* YGNodeRef node,
* void *data
* )
*/
@FunctionalInterface
@NativeType("void * (*) (YGMarker, YGNodeRef, void *)")
public interface StartMarkerCallbackI extends CallbackI.P {
String SIGNATURE = "(ipp)p";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default long callback(long args) {
return invoke(
dcbArgInt(args),
dcbArgPointer(args),
dcbArgPointer(args)
);
}
/** The start marker callback. */
@NativeType("void *") long invoke(@NativeType("YGMarker") int marker, @NativeType("YGNodeRef") long node, @NativeType("void *") long data);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy