| 3 | class StdoutEngineDelegate : public script::EngineDelegate { |
| 4 | public: |
| 5 | void onConsolePrint(const char* text) override { |
| 6 | printf("%s\n", text); |
| 7 | } |
| 8 | }; |
| 9 | |
| 10 | static script::EngineDelegate::Singleton<StdoutEngineDelegate> reg("stdout"); |
no outgoing calls
no test coverage detected