From d0e9822ed16cb36de4cb1171a89d4049c615f1a0 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Apr 2007 10:09:00 +0000 Subject: Moved around the Python code. --- py_eval.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'py_eval.cc') diff --git a/py_eval.cc b/py_eval.cc index 6113b693..d66f6188 100644 --- a/py_eval.cc +++ b/py_eval.cc @@ -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) -- cgit v1.2.3