org.lwjgl.util.yoga.YGLoggerI 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.*;
@FunctionalInterface
@NativeType("YGLogger")
public interface YGLoggerI extends CallbackI.I {
String SIGNATURE = "(ppipp)i";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default int callback(long args) {
return invoke(
dcbArgPointer(args),
dcbArgPointer(args),
dcbArgInt(args),
dcbArgPointer(args),
dcbArgPointer(args)
);
}
int invoke(@NativeType("const YGConfigRef") long config, @NativeType("const YGNodeRef") long node, @NativeType("YGLogLevel") int level, @NativeType("const char *") long format, @NativeType("va_list *") long args);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy