summaryrefslogtreecommitdiff
path: root/src/pyledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyledger.cc')
-rw-r--r--src/pyledger.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pyledger.cc b/src/pyledger.cc
index 08e6dbd1..1fe5708a 100644
--- a/src/pyledger.cc
+++ b/src/pyledger.cc
@@ -37,8 +37,12 @@ void initialize_for_python()
ledger::session_t python_session;
+void hello() {
+ std::cout << "Hello, world!" << std::endl;
+}
+
BOOST_PYTHON_MODULE(ledger)
{
- ledger::initialize_for_python();
ledger::set_session_context(&python_session);
+ ledger::initialize_for_python();
}