diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-04 09:53:10 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:37 -0400 |
commit | 93096b77f3c03b826c8857e4817ccd1bca52f9ee (patch) | |
tree | 403a0ddfc0241b6b959d7b9c4eefabd77832e166 /src/pyledger.cc | |
parent | 0214a136c2b21b3cff3dfc94095d2badc3136b1b (diff) | |
download | ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.tar.gz ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.tar.bz2 ledger-93096b77f3c03b826c8857e4817ccd1bca52f9ee.zip |
Got PyUnitTests functioning again.
Diffstat (limited to 'src/pyledger.cc')
-rw-r--r-- | src/pyledger.cc | 6 |
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(); } |