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

Function __hxcpp_get_class_list

src/hx/Class.cpp:359–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357} // End namespace hx
358
359Array<String> __hxcpp_get_class_list()
360{
361 Array<String> result = Array_obj<String>::__new();
362 if (hx::sClassMap)
363 {
364 for(hx::ClassMap::iterator i=hx::sClassMap->begin(); i!=hx::sClassMap->end(); ++i)
365 {
366 if (i->second.mPtr)
367 result->push( i->first );
368 }
369 }
370 return result;
371}
372
373

Callers

nothing calls this directly

Calls 2

__newFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected