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

Method makeEmpty

shared/java/Data.java:106–109  ·  view source on GitHub ↗

Returns a new empty dataref (or a reference to a shared empty dataref). New or shared, the caller must see that #close() is eventually called.

()

Source from the content-addressed store, hash-verified

104 * New or shared, the caller must see that {@link #close()} is eventually called.
105 */
106 public static Data makeEmpty() {
107 Stats.onNativeCall();
108 return new Data(_nMakeEmpty());
109 }
110
111 @ApiStatus.Internal
112 public Data(long ptr) {

Callers 2

executeMethod · 0.95
executeMethod · 0.95

Calls 2

onNativeCallMethod · 0.95
_nMakeEmptyMethod · 0.95

Tested by 2

executeMethod · 0.76
executeMethod · 0.76