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

Method Create

include/hx/Anon.h:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 String name0; _hx_T0 t0;
158
159 inline static hx::Object *Create(const String &inName0, _hx_T0 inT0)
160 {
161 AnonStruct1_obj *result = new AnonStruct1_obj;
162 result->name0 = inName0; result->t0 = inT0;
163 if (hx::ContainsPointers<_hx_T0>()) {
164 HX_OBJ_WB_GET(result, hx::PointerOf(inT0));
165 }
166 return result;
167 }
168 hx::Val __Field(const String &inField, hx::PropertyAccess)
169 {
170 if (HX_QSTR_EQ(inField,name0)) return t0;

Callers

nothing calls this directly

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected