MCPcopy Create free account
hub / github.com/JetBrains/skija / make

Method make

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

Source from the content-addressed store, hash-verified

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

Callers 1

iteratorMethod · 0.95

Calls 3

_nMakeMethod · 0.95
getPtrMethod · 0.95
_nNextMethod · 0.95

Tested by

no test coverage detected