8334708: FFM: two javadoc problems
Reviewed-by: mcimadamore
This commit is contained in:
parent
7e55ed3b10
commit
72ca7bafcd
@ -222,7 +222,7 @@ import java.util.stream.Stream;
|
||||
* <pre>
|
||||
* MemoryLayout.structLayout(
|
||||
* ValueLayout.JAVA_INT.withName("x"),
|
||||
* MemoryLayout.paddingLayout(32),
|
||||
* MemoryLayout.paddingLayout(4),
|
||||
* ValueLayout.JAVA_LONG.withName("y")
|
||||
* );
|
||||
* </pre>
|
||||
|
@ -369,7 +369,7 @@ import jdk.internal.foreign.layout.UnionLayoutImpl;
|
||||
* int size = ...
|
||||
* MemorySegment points = ...
|
||||
* for (int i = 0 ; i < size ; i++) {
|
||||
* ... POINT_ARR_X.get(segment, 0L, (long)i) ...
|
||||
* ... POINT_ARR_X.get(points, 0L, (long)i) ...
|
||||
* }
|
||||
* }
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user