Using CHANNEL_PRINTS to transfer printbuffers to stdout is now working.

This commit is contained in:
2025-12-15 23:35:47 -05:00
parent 9dc974ebca
commit 1b7f917cdf
8 changed files with 52 additions and 17 deletions

View File

@@ -115,6 +115,11 @@ struct EngineWrapper {
//
double (*get_clock)(EngineWrapper *w);
// Check the 'have prints' flag. If true, then the engine
// wants the driver to use CHANNEL_PRINTS to obtain prints.
//
bool (*get_have_prints)(EngineWrapper *w);
// Check the 'rescan_lua_source' flag. If this flag is set, it means
// that the engine wants the driver to rescan the lua source code.
// When the driver sees this flag, it should rescan the source and call