diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-16 05:37:37 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:52 -0400 |
commit | 023f28630f7ed8f845eab00b137d58cc79b4445b (patch) | |
tree | e48c55fa1e87f5b34c00cbca7aac334c97c9e7f0 /src/pyinterp.h | |
parent | 52822604713b73160ac497bc170eb45d9a594306 (diff) | |
download | ledger-023f28630f7ed8f845eab00b137d58cc79b4445b.tar.gz ledger-023f28630f7ed8f845eab00b137d58cc79b4445b.tar.bz2 ledger-023f28630f7ed8f845eab00b137d58cc79b4445b.zip |
Changed xpath to use the new copy-on-write value_t.
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r-- | src/pyinterp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h index aee002f9..a8f4784f 100644 --- a/src/pyinterp.h +++ b/src/pyinterp.h @@ -75,7 +75,7 @@ class python_interpreter_t : public xml::xpath_t::scope_t boost::python::object func; public: functor_t(const string& name, boost::python::object _func) : func(_func) {} - virtual void operator()(value_t& result, xml::xpath_t::scope_t * locals); + virtual value_t operator()(xml::xpath_t::scope_t * locals); }; virtual void define(const string& name, xml::xpath_t::ptr_op_t def) { @@ -93,7 +93,7 @@ class python_interpreter_t : public xml::xpath_t::scope_t class lambda_t : public functor_t { public: lambda_t(boost::python::object code) : functor_t("<lambda>", code) {} - virtual void operator()(value_t& result, xml::xpath_t::scope_t * locals); + virtual value_t operator()(xml::xpath_t::scope_t * locals); }; }; |