From ce3491c99f089874725999ca6d8b1fb6a15c9e5e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 15 Feb 2006 20:10:49 +0000 Subject: Removed Python integration support. --- emacs.cc | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'emacs.cc') 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 - -using namespace boost::python; -using namespace ledger; - -void export_emacs() -{ - typedef - pystream_handler_wrap - format_emacs_transactions_wrap; - - class_< format_emacs_transactions_wrap, bases > > - ("FormatEmacsTransactions", - init()[with_custodian_and_ward<1, 2>()]) - .def("flush", &format_emacs_transactions_wrap::flush) - .def("__call__", &format_emacs_transactions_wrap::operator()) - ; -} - -#endif // USE_BOOST_PYTHON -- cgit v1.2.3