mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8319560: Reformat method parameters in the FFM API
Reviewed-by: mcimadamore
This commit is contained in:
parent
ef8c8408a6
commit
134c382d39
4 changed files with 26 additions and 12 deletions
|
@ -550,7 +550,9 @@ public sealed interface Linker permits AbstractLinker {
|
|||
*/
|
||||
@CallerSensitive
|
||||
@Restricted
|
||||
MethodHandle downcallHandle(MemorySegment address, FunctionDescriptor function, Option... options);
|
||||
MethodHandle downcallHandle(MemorySegment address,
|
||||
FunctionDescriptor function,
|
||||
Option... options);
|
||||
|
||||
/**
|
||||
* Creates a method handle that is used to call a foreign function with the given signature.
|
||||
|
@ -637,7 +639,10 @@ public sealed interface Linker permits AbstractLinker {
|
|||
*/
|
||||
@CallerSensitive
|
||||
@Restricted
|
||||
MemorySegment upcallStub(MethodHandle target, FunctionDescriptor function, Arena arena, Linker.Option... options);
|
||||
MemorySegment upcallStub(MethodHandle target,
|
||||
FunctionDescriptor function,
|
||||
Arena arena,
|
||||
Linker.Option... options);
|
||||
|
||||
/**
|
||||
* Returns a symbol lookup for symbols in a set of commonly used libraries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue