summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 17:32:51 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 17:32:51 -0600
commitf6c087cfe48e6410db61a9367ce7c718a490af77 (patch)
treea2130aa5b47c3dd17ab698db9374343915193579 /src/pyinterp.h
parentff89cb9c4de8240d7a7f79406755a86d8d2d5f18 (diff)
downloadfork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.gz
fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.bz2
fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.zip
Added a new 'python' directive
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r--src/pyinterp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h
index ae8dd9c2..c3397840 100644
--- a/src/pyinterp.h
+++ b/src/pyinterp.h
@@ -41,8 +41,9 @@ namespace ledger {
class python_interpreter_t : public session_t
{
public:
- python::dict main_nspace;
- bool is_initialized;
+ python::object main_module;
+ python::dict main_nspace;
+ bool is_initialized;
python_interpreter_t()
: session_t(), main_nspace(), is_initialized(false) {