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. --- derive.cc | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'derive.cc') diff --git a/derive.cc b/derive.cc index 07a8aaa4..41a01370 100644 --- a/derive.cc +++ b/derive.cc @@ -132,30 +132,3 @@ entry_t * derive_new_entry(journal_t& journal, } } // namespace ledger - -#ifdef USE_BOOST_PYTHON - -#include -#include - -using namespace boost::python; -using namespace ledger; - -entry_t * py_derive_new_entry(journal_t& journal, list args) -{ - strings_list strs; - - int l = len(args); - for (int i = 0; i < l; i++) - strs.push_back(extract(args[i])); - - return derive_new_entry(journal, strs.begin(), strs.end()); -} - -void export_derive() -{ - def("derive_new_entry", py_derive_new_entry, - return_value_policy()); -} - -#endif // USE_BOOST_PYTHON -- cgit v1.2.3