| 316 | // *********************************************************************** |
| 317 | |
| 318 | struct State { |
| 319 | |
| 320 | // global stuff |
| 321 | Arena* pArena; |
| 322 | bool appLoaded; |
| 323 | LuaFileResolver fileResolver; |
| 324 | Luau::NullConfigResolver configResolver; |
| 325 | Luau::Frontend frontend; |
| 326 | FileWatcher* pWatcher; |
| 327 | |
| 328 | // curent app specific |
| 329 | String appName; |
| 330 | bool hasStarted; |
| 331 | lua_State* pProgramState; |
| 332 | AssetImporter::AssetImportTable* pImportTable; |
| 333 | ResizableArray<String> luaFilesToWatch; |
| 334 | ResizableArray<String> assetsToWatch; |
| 335 | }; |
| 336 | |
| 337 | State* pState = nullptr; |
| 338 | bool CompileAndLoadModule(String modulePath, i32 nReturns); |
nothing calls this directly
no outgoing calls
no test coverage detected