MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / getRoot

Function getRoot

test/cffi/project/Project.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43value getRoot(int inRoot)
44{
45 if (inRoot>=roots.size() || !roots[inRoot])
46 return alloc_null();
47 return roots[inRoot]->get();
48}
49DEFINE_PRIME1(getRoot);
50
51

Callers

nothing calls this directly

Calls 3

alloc_nullFunction · 0.50
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected