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. --- xml.cc | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'xml.cc') 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 - -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 > ("XmlParser") - .def("test", &xml_parser_t::test) - .def("parse", &xml_parser_t::parse, xml_parse_overloads()) - ; - - typedef - pystream_handler_wrap - format_xml_entries_wrap; - - class_< format_xml_entries_wrap, bases > > - ("FormatXmlEntries", - init()[with_custodian_and_ward<1, 2>()]) - .def("flush", &format_xml_entries_wrap::flush) - .def("__call__", &format_xml_entries_wrap::operator()) - ; -} - -#endif // USE_BOOST_PYTHON -- cgit v1.2.3