summaryrefslogtreecommitdiff
path: root/xml.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 /xml.cc
parent2eafddc91b8d7f0b7bdfd991acdc9e0b2295e304 (diff)
downloadfork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.gz
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.bz2
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.zip
Removed Python integration support.
Diffstat (limited to 'xml.cc')
-rw-r--r--xml.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/xml.cc b/xml.cc
index edfefe83..4bebbf44 100644
--- a/xml.cc
+++ b/xml.cc
@@ -442,33 +442,3 @@ void format_xml_entries::format_last_entry()
}
} // namespace ledger
-
-#ifdef USE_BOOST_PYTHON
-
-#include <boost/python.hpp>
-
-using namespace boost::python;
-using namespace ledger;
-
-BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(xml_parse_overloads,
- xml_parser_t::parse, 2, 4)
-
-void export_xml() {
- class_< xml_parser_t, bases<parser_t> > ("XmlParser")
- .def("test", &xml_parser_t::test)
- .def("parse", &xml_parser_t::parse, xml_parse_overloads())
- ;
-
- typedef
- pystream_handler_wrap<format_xml_entries, transaction_t, bool>
- format_xml_entries_wrap;
-
- class_< format_xml_entries_wrap, bases<item_handler<transaction_t> > >
- ("FormatXmlEntries",
- init<PyObject *, bool>()[with_custodian_and_ward<1, 2>()])
- .def("flush", &format_xml_entries_wrap::flush)
- .def("__call__", &format_xml_entries_wrap::operator())
- ;
-}
-
-#endif // USE_BOOST_PYTHON