diff options
-rw-r--r-- | python/py_value.cc | 4 | ||||
-rw-r--r-- | src/value.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/py_value.cc b/python/py_value.cc index c94475ec..79b367a1 100644 --- a/python/py_value.cc +++ b/python/py_value.cc @@ -237,10 +237,10 @@ void export_value() .def("__str__", py_dump_relaxed) .def("__repr__", py_dump) - .def("cast", &value_t::cast) + .def("casted", &value_t::casted) .def("in_place_cast", &value_t::in_place_cast) - .def("simplify", &value_t::simplify) + .def("simplified", &value_t::simplified) .def("in_place_simplify", &value_t::in_place_simplify) // jww (2009-02-07): Allow annotating, and retrieving annotations diff --git a/src/value.h b/src/value.h index c24e8257..299afa82 100644 --- a/src/value.h +++ b/src/value.h @@ -731,14 +731,14 @@ public: * in_place_cast * in_place_simplify */ - value_t cast(type_t cast_type) const { + value_t casted(type_t cast_type) const { value_t temp(*this); temp.in_place_cast(cast_type); return temp; } void in_place_cast(type_t cast_type); - value_t simplify() const { + value_t simplified() const { value_t temp = *this; temp.in_place_simplify(); return temp; |