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

org.lwjgl.util.yoga.YGLoggerI Maven / Gradle / Ivy

There is a newer version: 3.3.5
Show newest version
/*
 * 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