Embed and initialise reflection script in python context

This commit is contained in:
baldurk
2026-08-13 17:46:42 +01:00
parent be3d34fb93
commit 09c036bd36
5 changed files with 129 additions and 13 deletions
@@ -157,6 +157,9 @@ private:
static PyObject *m_CallWrapper;
static PyObject *m_CallWrapperGlobals;
// the PyReflector from parse_reflection
static PyObject *m_Reflector;
// a statically created PythonContext for extension events/output.
// each extension has its own dictionary but this is used so that users can connect to it and receieve events
static PythonContext *m_ExtensionContext;