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

Method ConstructEmpty

src/hx/cppia/CppiaClasses.cpp:1647–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645
1646
1647 Dynamic ConstructEmpty() HXCPP_OVERRIDE
1648 {
1649 if (info->isEnum)
1650 return Dynamic();
1651
1652 Expressions none;
1653 return info->createInstance(CppiaCtx::getCurrent(),none,false);
1654 }
1655
1656 Dynamic ConstructArgs(hx::DynamicArray inArgs) HXCPP_OVERRIDE
1657 {

Callers

nothing calls this directly

Calls 2

createInstanceMethod · 0.80
DynamicClass · 0.50

Tested by

no test coverage detected