Uses of Interface
java.lang.foreign.FunctionDescriptor
Packages that use FunctionDescriptorPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of FunctionDescriptorPREVIEW in java.lang.foreign
Methods in java.lang.foreign that return FunctionDescriptorPREVIEWModifier and TypeMethodDescriptionFunctionDescriptor.appendArgumentLayouts(MemoryLayoutPREVIEW... addedLayouts) Returns a function descriptor with the given argument layouts appended to the argument layout array of this function descriptor.FunctionDescriptor.changeReturnLayout(MemoryLayoutPREVIEW newReturn) Returns a function descriptor with the given memory layout as the new return layout.FunctionDescriptor.dropReturnLayout()Returns a function descriptor with the return layout dropped.FunctionDescriptor.insertArgumentLayouts(int index, MemoryLayoutPREVIEW... addedLayouts) Returns a function descriptor with the given argument layouts inserted at the given index, into the argument layout array of this function descriptor.static FunctionDescriptorPREVIEWFunctionDescriptor.of(MemoryLayoutPREVIEW resLayout, MemoryLayoutPREVIEW... argLayouts) Creates a function descriptor with the given return and argument layouts.static FunctionDescriptorPREVIEWFunctionDescriptor.ofVoid(MemoryLayoutPREVIEW... argLayouts) Creates a function descriptor with the given argument layouts and no return layout.Methods in java.lang.foreign with parameters of type FunctionDescriptorPREVIEWModifier and TypeMethodDescriptionLinker.downcallHandle(FunctionDescriptorPREVIEW function, Linker.OptionPREVIEW... options) Creates a method handle which can be used to call a foreign function with the given signature.default MethodHandleLinker.downcallHandle(MemorySegmentPREVIEW symbol, FunctionDescriptorPREVIEW function, Linker.OptionPREVIEW... options) Creates a method handle which can be used to call a foreign function with the given signature and address.Linker.upcallStub(MethodHandle target, FunctionDescriptorPREVIEW function, SegmentScopePREVIEW scope) Creates a stub which can be passed to other foreign functions as a function pointer, associated with the given scope.