Design Thoughts

Mar 24, 2008 at 4:16 PM
Edited Mar 24, 2008 at 4:22 PM
A single application of Coils to a Python project should result in a single assembly being created. This assembly should be associated with its own ScriptRuntime object so that it's isolated from any other script-based code in the same process.

The assembly will create a single "manager" class with references to the ScriptRuntime and ScriptEngine. It will also create one "wrapper" class for each Python type being wrapped.

The wrapper class will have a shared reference to the PythonType and a per-instance reference to the actual object being wrapped.