Class YGLogger

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.yoga.YGLogger
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, YGLoggerI

public abstract class YGLogger extends Callback implements YGLoggerI

Type


 int (*YGLoggerI.invoke(long, long, int, long, long)) (
     YGConfigRef config,
     YGNodeRef node,
     YGLogLevel level,
     char const *format,
     va_list args
 )
  • Method Details

    • create

      public static YGLogger create(long functionPointer)
      Creates a YGLogger instance from the specified function pointer.
      Returns:
      the new YGLogger
    • createSafe

      @Nullable public static YGLogger createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static YGLogger create(YGLoggerI instance)
      Creates a YGLogger instance that delegates to the specified YGLoggerI instance.