MCPcopy 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
955value *alloc_root()
956{
957 hx::Object ** result = new hx::Object *();
958 hx::GCAddRoot(result);
959 return (value *)result;
960}
961
962void free_root(value *inValue)
963{

Callers 1

AutoGCRootMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected