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

Method StructData

src/Dynamic.cpp:242–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 { return hx::Object::operator new(inSize,inAlloc,inName); }
241
242 StructData(const void *inValue,int inLength, cpp::DynamicHandlerFunc inHandler)
243 {
244 mLength= inLength;
245 mValue = InternalNew(inLength,false);
246 HX_OBJ_WB_GET(this, mValue);
247 memcpy(mValue, inValue, inLength);
248 mHandler = inHandler;
249 }
250
251 HX_IS_INSTANCE_OF enum { _hx_ClassId = hx::clsIdStruct };
252

Callers

nothing calls this directly

Calls 2

InternalNewFunction · 0.85
memcpyFunction · 0.85

Tested by

no test coverage detected