| 100 | void addScriptableFile(String inName); |
| 101 | |
| 102 | void CppiaModule::registerDebugger() |
| 103 | { |
| 104 | #ifdef HXCPP_DEBUGGER |
| 105 | for(int i=0;i<classes.size();i++) |
| 106 | { |
| 107 | String scriptable(classes[i]->name.c_str()); |
| 108 | addScriptableClass( scriptable.makePermanent().utf8_str() ); |
| 109 | } |
| 110 | |
| 111 | for(hx::UnorderedSet<int>::const_iterator i = allFileIds.begin(); i!=allFileIds.end(); ++i) |
| 112 | addScriptableFile(strings[*i]); |
| 113 | |
| 114 | #if (HXCPP_API_LEVEL >= 500) |
| 115 | if (hx::g_onScriptLoadedFunction != null{}) { |
| 116 | hx::g_onScriptLoadedFunction(); |
| 117 | } |
| 118 | #endif |
| 119 | |
| 120 | #endif |
| 121 | } |
| 122 | |
| 123 | CppiaClassInfo *CppiaModule::findClass( ::String inName) |
| 124 | { |
no test coverage detected