MCPcopy Create free account
hub / github.com/GNOME/gjs / stashObject

Function stashObject

installed-tests/js/testGObjectClass.js:1571–1575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1569 }, class MyConverter extends GObject.Object {});
1570
1571 function stashObject() {
1572 const base = new Gio.MemoryInputStream();
1573 const converter = new MyConverter({testprop: [1, 2, 3]});
1574 return Gio.ConverterInputStream.new(base, converter);
1575 }
1576
1577 const stream = stashObject();
1578 System.gc();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected