Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ alloc_root
Function
alloc_root
src/hx/CFFI.cpp:955–960 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
953
954
955
value *alloc_root()
956
{
957
hx::Object ** result = new hx::Object *();
958
hx::GCAddRoot(result);
959
return (value *)result;
960
}
961
962
void free_root(value *inValue)
963
{
Callers
1
AutoGCRoot
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected