summaryrefslogtreecommitdiff
path: root/emacs.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-15 20:10:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commitce3491c99f089874725999ca6d8b1fb6a15c9e5e (patch)
treec48a2bf19a954c8103a02e26f9a1a490b8095268 /emacs.cc
parent2eafddc91b8d7f0b7bdfd991acdc9e0b2295e304 (diff)
downloadfork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.gz
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.bz2
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.zip
Removed Python integration support.
Diffstat (limited to 'emacs.cc')
-rw-r--r--emacs.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/emacs.cc b/emacs.cc
index a7d517f7..b25fb9aa 100644
--- a/emacs.cc
+++ b/emacs.cc
@@ -77,26 +77,3 @@ void format_emacs_transactions::operator()(transaction_t& xact)
}
} // namespace ledger
-
-#ifdef USE_BOOST_PYTHON
-
-#include <boost/python.hpp>
-
-using namespace boost::python;
-using namespace ledger;
-
-void export_emacs()
-{
- typedef
- pystream_handler_wrap<format_emacs_transactions, transaction_t>
- format_emacs_transactions_wrap;
-
- class_< format_emacs_transactions_wrap, bases<item_handler<transaction_t> > >
- ("FormatEmacsTransactions",
- init<PyObject *>()[with_custodian_and_ward<1, 2>()])
- .def("flush", &format_emacs_transactions_wrap::flush)
- .def("__call__", &format_emacs_transactions_wrap::operator())
- ;
-}
-
-#endif // USE_BOOST_PYTHON