public static sealed interface Linker.Option
Option
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A linker option that can be used to indicate additional linking requirements to the linker,
besides what is described by a function descriptor.
- Since:
- 20
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Linker.OptionPREVIEW
firstVariadicArg
(int index) Returns A linker option used to denote the index of the first variadic argument layout in a foreign function call.
-
Method Details
-
firstVariadicArg
Returns A linker option used to denote the index of the first variadic argument layout in a foreign function call.- Parameters:
index
- the index of the first variadic argument in a downcall handle linkage request.- Returns:
- A linker option used to denote the index of the first variadic argument layout in a foreign function call
-
Option
when preview features are enabled.