Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
value getRoot(int inRoot)
44
{
45
if (inRoot>=roots.size() || !roots[inRoot])
46
return alloc_null();
47
return roots[inRoot]->get();
48
}
49
DEFINE_PRIME1(getRoot);
50
51
Callers
nothing calls this directly
Calls
3
alloc_null
Function · 0.50
size
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected