Heap-allocated NUL-terminated string.
Definition hxstr.h:41
void InvokeMasterInitScript()
Run the master script against the existing host.
void RegisterScriptCallTemplates()
Register every script call template.
constexpr int kScriptTemplateAutoexec
Identifier of the autoexec() call template, which Application::Run() invokes once the services exist.
Definition scripthost.h:9
HxStr GetPythonErrorText()
Describe the pending Python error as text.
void RunScript(const HxStr &script)
Run one piece of script text as a statement.
void GetPythonScriptHost()
Create the interpreter host on first use and run the master script.
void CallScriptTemplate(int nTemplate,...)
Call one registered script template as a statement.
void DestroyPythonScriptHost()
Destroy the interpreter host and clear the global.