| 318 | } |
| 319 | |
| 320 | inline void Context::runModule (const std::string& moduleCode, ReadModuleContentFn readModule, CompletionHandler handleResult) |
| 321 | { |
| 322 | CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context! |
| 323 | pimpl->run (moduleCode, std::addressof (readModule), std::move (handleResult)); |
| 324 | } |
| 325 | |
| 326 | inline void Context::pumpMessageLoop() |
| 327 | { |