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

Method GetMemberStorage

src/hx/Class.cpp:282–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280
281#ifdef HXCPP_SCRIPTABLE
282const hx::StorageInfo* Class_obj::GetMemberStorage(String inName)
283{
284 if (mMemberStorageInfo)
285 {
286 for(const StorageInfo *s = mMemberStorageInfo; s->offset; s++)
287 {
288 if (s->name == inName)
289 return s;
290 }
291 }
292 if (mSuper)
293 return (*mSuper)->GetMemberStorage(inName);
294 return 0;
295}
296
297
298const hx::StaticInfo* Class_obj::GetStaticStorage(String inName)

Callers 1

linkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected