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 | ce3491c99f089874725999ca6d8b1fb6a15c9e5e (patch) | |
tree | c48a2bf19a954c8103a02e26f9a1a490b8095268 /derive.cc | |
parent | 2eafddc91b8d7f0b7bdfd991acdc9e0b2295e304 (diff) | |
download | fork-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.cc | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -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 |