diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-27 10:09:00 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:32 -0400 |
commit | d0e9822ed16cb36de4cb1171a89d4049c615f1a0 (patch) | |
tree | fa48eba60a56dee5bcf1ebd266d822c5a96e4323 /py_eval.cc | |
parent | 0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f (diff) | |
download | fork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.tar.gz fork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.tar.bz2 fork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.zip |
Moved around the Python code.
Diffstat (limited to 'py_eval.cc')
-rw-r--r-- | py_eval.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,7 +18,7 @@ void shutdown_option(); namespace ledger { -void initialize_ledger_for_python() +void initialize_for_python() { export_amount(); #if 0 @@ -35,7 +35,7 @@ void initialize_ledger_for_python() #endif } -void shutdown_ledger_for_python() +void shutdown_for_python() { #if 0 shutdown_option(); @@ -61,7 +61,7 @@ python_interpreter_t::python_interpreter_t(xml::xpath_t::scope_t * parent) nspace(handle<>(borrowed(PyModule_GetDict(mmodule.get())))) { Py_Initialize(); - detail::init_module("ledger", &initialize_ledger_for_python); + detail::init_module("ledger", &initialize_for_python); } object python_interpreter_t::import(const string& str) |