MCPcopy Create free account
hub / github.com/HumbleUI/Skija / make

Method make

shared/java/PathSegmentIterator.java:39–48  ·  view source on GitHub ↗
(Path path, boolean forceClose)

Source from the content-addressed store, hash-verified

37 }
38
39 public static PathSegmentIterator make(Path path, boolean forceClose) {
40 try {
41 long ptr = _nMake(Native.getPtr(path), forceClose);
42 PathSegmentIterator i = new PathSegmentIterator(path, ptr);
43 i._nextSegment = _nNext(ptr);
44 return i;
45 } finally {
46 ReferenceUtil.reachabilityFence(path);
47 }
48 }
49
50 @ApiStatus.Internal
51 public static class _FinalizerHolder {

Callers 1

iteratorMethod · 0.95

Calls 4

_nMakeMethod · 0.95
getPtrMethod · 0.95
_nNextMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected