Module java.base

Interface FunctionDescriptor


public sealed interface FunctionDescriptor
A function descriptor models the signature of a foreign function. A function descriptor is made up of zero or more argument layouts, and zero or one return layout. A function descriptor is used to create downcall method handlesRESTRICTED and upcall stubsRESTRICTED.
Implementation Requirements:
Implementing classes are immutable, thread-safe and value-based.
Since:
22
See Also: