#include <embed.h>
Public Member Functions | |
~Interpreter () | |
Destructor. | |
Static Public Member Functions | |
static void | init () |
static boost::python::object & | globals () |
acces corresponding context |
It also imports polybori and stores the main context.
polybori::Interpreter::~Interpreter | ( | ) | [inline] |
Destructor.
static void polybori::Interpreter::init | ( | ) | [inline, static] |
Initialize unique (singleton) python interpreter instance, and set Singular type identifier
static boost::python::object& polybori::Interpreter::globals | ( | ) | [inline, static] |
acces corresponding context
Referenced by polybori::eval(), polybori::exec(), and polybori::exec_file().