summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-13 00:57:10 +0200
committerGitHub <noreply@github.com>2023-04-13 00:57:10 +0200
commitd8fefe9e82f99d4dab477a66c83cad64a8159c33 (patch)
tree27d1a5e41abca837b72cfcc81b0b5c365f7debe7 /src/py_journal.cc
parent0c57796f86aeec45e106189aacfd50e1791d5605 (diff)
parent9244a27f9548a1d39fb01348fde66ff81f5150a4 (diff)
downloadfork-ledger-d8fefe9e82f99d4dab477a66c83cad64a8159c33.tar.gz
fork-ledger-d8fefe9e82f99d4dab477a66c83cad64a8159c33.tar.bz2
fork-ledger-d8fefe9e82f99d4dab477a66c83cad64a8159c33.zip
Merge pull request #2233 from afh/clean-up-class-list
Clean up class list
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r--src/py_journal.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc
index 08a4ebf1..d96618e7 100644
--- a/src/py_journal.cc
+++ b/src/py_journal.cc
@@ -241,7 +241,7 @@ void export_journal()
boost::noncopyable >("PostCollectorWrapper", no_init)
.def("__len__", &collector_wrapper::length)
.def("__getitem__", posts_getitem, return_internal_reference<>())
- .def("__iter__", python::range<return_internal_reference<> >
+ .def("__iter__", boost::python::range<return_internal_reference<> >
(&collector_wrapper::begin, &collector_wrapper::end))
;
@@ -306,15 +306,15 @@ void export_journal()
with_custodian_and_ward_postcall<1, 0> >())
#endif
- .def("__iter__", python::range<return_internal_reference<> >
+ .def("__iter__", boost::python::range<return_internal_reference<> >
(&journal_t::xacts_begin, &journal_t::xacts_end))
- .def("xacts", python::range<return_internal_reference<> >
+ .def("xacts", boost::python::range<return_internal_reference<> >
(&journal_t::xacts_begin, &journal_t::xacts_end))
- .def("auto_xacts", python::range<return_internal_reference<> >
+ .def("auto_xacts", boost::python::range<return_internal_reference<> >
(&journal_t::auto_xacts_begin, &journal_t::auto_xacts_end))
- .def("period_xacts", python::range<return_internal_reference<> >
+ .def("period_xacts", boost::python::range<return_internal_reference<> >
(&journal_t::period_xacts_begin, &journal_t::period_xacts_end))
- .def("sources", python::range<return_internal_reference<> >
+ .def("sources", boost::python::range<return_internal_reference<> >
(&journal_t::sources_begin, &journal_t::sources_end))
#if 0
.def("read", py_read)