diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-15 20:10:49 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:21 -0400 |
commit | a8012940f4d15a2e1d8fbdac02a631dae6231b1e (patch) | |
tree | c48a2bf19a954c8103a02e26f9a1a490b8095268 /textual.cc | |
parent | 20f100cd5a6bd1a972b7905c4fb547b8429676c5 (diff) | |
download | ledger-a8012940f4d15a2e1d8fbdac02a631dae6231b1e.tar.gz ledger-a8012940f4d15a2e1d8fbdac02a631dae6231b1e.tar.bz2 ledger-a8012940f4d15a2e1d8fbdac02a631dae6231b1e.zip |
Removed Python integration support.
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -12,9 +12,6 @@ #include "timing.h" #include "util.h" #include "acconf.h" -#ifdef USE_BOOST_PYTHON -#include "py_eval.h" -#endif #include <fstream> #include <sstream> @@ -733,11 +730,6 @@ unsigned int textual_parser_t::parse(std::istream& in, else if (word == "end") { account_stack.pop_front(); } -#ifdef USE_BOOST_PYTHON - else if (word == "python") { - python_eval(in, PY_EVAL_MULTI); - } -#endif else if (word == "alias") { char * b = skip_ws(p); if (char * e = std::strchr(b, '=')) { @@ -904,22 +896,3 @@ void write_textual_journal(journal_t& journal, std::string path, } } // namespace ledger - -#ifdef USE_BOOST_PYTHON - -#include <boost/python.hpp> - -using namespace boost::python; -using namespace ledger; - -BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(textual_parse_overloads, - textual_parser_t::parse, 2, 4) - -void export_textual() { - class_< textual_parser_t, bases<parser_t> > ("TextualParser") - .def("test", &textual_parser_t::test) - .def("parse", &textual_parser_t::parse, textual_parse_overloads()) - ; -} - -#endif // USE_BOOST_PYTHON |