MCPcopy Create free account
hub / github.com/bbidulock/icewm / newRefString

Function newRefString

src/testarray.cc:362–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360typedef ref<stringcounted> refstring;
361
362inline refstring newRefString(const char *str) {
363 return refstring(new stringcounted(str));
364}
365
366static void test_refstr() {
367 typedef YRefArray<stringcounted> array_t;

Callers 1

test_refstrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected