Package org.lwjgl.util.yoga
Class YGLogger
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.yoga.YGLogger
- All Implemented Interfaces:
AutoCloseable
,CallbackI
,NativeResource
,Pointer
,YGLoggerI
Type
int (*YGLoggerI.invoke(long, long, int, long, long)
) (
YGConfigRef config,
YGNodeRef node,
YGLogLevel level,
char const *format,
va_list args
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic YGLogger
create
(long functionPointer) Creates aYGLogger
instance from the specified function pointer.static YGLogger
Creates aYGLogger
instance that delegates to the specifiedYGLoggerI
instance.static YGLogger
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.util.yoga.YGLoggerI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aYGLogger
instance from the specified function pointer.- Returns:
- the new
YGLogger
-
createSafe
-
create
Creates aYGLogger
instance that delegates to the specifiedYGLoggerI
instance.
-