summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 10:46:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:53 -0400
commit2d8512af88eab26176089e53916f309f2d3b3be4 (patch)
tree5d0b6217a3367099d8a3fdb2866acc433c38e078 /src/pyinterp.h
parent1134fc7eff7094700abf16c2e532d7c3c40ae68d (diff)
downloadfork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.gz
fork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.bz2
fork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.zip
Changed all uses of scope_t * to scope_t&
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r--src/pyinterp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h
index 2258c6c0..037c70e1 100644
--- a/src/pyinterp.h
+++ b/src/pyinterp.h
@@ -46,7 +46,7 @@ class python_interpreter_t : public xml::xpath_t::scope_t
public:
boost::python::dict nspace;
- python_interpreter_t(xml::xpath_t::scope_t * parent);
+ python_interpreter_t(xml::xpath_t::scope_t& parent);
virtual ~python_interpreter_t() {
Py_Finalize();
@@ -76,7 +76,7 @@ class python_interpreter_t : public xml::xpath_t::scope_t
public:
functor_t(const string& name, boost::python::object _func) : func(_func) {}
virtual ~functor_t() {}
- virtual value_t operator()(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) {
@@ -94,7 +94,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 value_t operator()(xml::xpath_t::scope_t * locals);
+ virtual value_t operator()(xml::xpath_t::scope_t& locals);
};
};