summaryrefslogtreecommitdiff
path: root/derive.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 /derive.cc
parent2eafddc91b8d7f0b7bdfd991acdc9e0b2295e304 (diff)
downloadfork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.gz
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.tar.bz2
fork-ledger-ce3491c99f089874725999ca6d8b1fb6a15c9e5e.zip
Removed Python integration support.
Diffstat (limited to 'derive.cc')
-rw-r--r--derive.cc27
1 files changed, 0 insertions, 27 deletions
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 <boost/python.hpp>
-#include <boost/python/detail/api_placeholder.hpp>
-
-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<std::string>(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<manage_new_object>());
-}
-
-#endif // USE_BOOST_PYTHON