Interface GLFWWindowMaximizeFun
- All Superinterfaces:
Upcall
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
typedef void (*GLFWWindowMaximizeFun)(GLFWwindow* window, (int) GLFWboolean maximized);
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionDescriptorThe function descriptor.static final MethodHandleThe method handle of the target method. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentalloc(Arena arena, GLFWWindowMaximizeFun func) AllocatesGLFWWindowMaximizeFun.voidinvoke(MemorySegment window, boolean maximized) The target method of the upcall.default voidinvoke_(MemorySegment window, int maximized) The target method of the upcall.default MemorySegmentCreates an upcall stub associated with the given arena using Linker::upcallStubRESTRICTED.
-
Field Details
-
DESCRIPTOR
The function descriptor. -
HANDLE
The method handle of the target method.
-
-
Method Details
-
alloc
AllocatesGLFWWindowMaximizeFun.- Parameters:
arena- the arenafunc- the function- Returns:
- the upcall stub
-
invoke
The target method of the upcall. -
invoke_
The target method of the upcall. -
stub
Description copied from interface:UpcallCreates an upcall stub associated with the given arena using Linker::upcallStubRESTRICTED.
-