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

Function addScriptableClass

src/hx/cppia/CppiaModule.cpp:520–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518Array<String > gAllFiles;
519
520void addScriptableClass(String inName)
521{
522 #ifdef HXCPP_DEBUGGER
523 if (!gAllClasses.mPtr)
524 {
525 gAllClasses = Array_obj<Dynamic>::__new();
526 GCAddRoot( (hx::Object **)&gAllClasses.mPtr );
527 }
528 if (gAllClasses->indexOf(inName)<0)
529 gAllClasses->push(inName);
530 #endif
531}
532
533
534void addScriptableFile(String inName)

Callers 1

registerDebuggerMethod · 0.85

Calls 3

__newFunction · 0.85
indexOfMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected