2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-31 08:22:18 +00:00

changed name of extension_class_coerce to standard_coerce.

[SVN r8358]
This commit is contained in:
Dave Abrahams
2000-11-29 14:18:37 +00:00
parent 0f43a2fe9b
commit 9dca983e33

View File

@@ -707,8 +707,6 @@ class extension_instance : public instance
// Template function implementations
//
tuple extension_class_coerce(ref l, ref r);
template <class T, class U>
extension_class<T, U>::extension_class()
: extension_class_base(typeid(T).name())
@@ -729,7 +727,7 @@ void extension_class<T, U>::def_standard_coerce()
ref coerce_fct = dict().get_item(string("__coerce__"));
if(coerce_fct.get() == 0) // not yet defined
this->def(&extension_class_coerce, "__coerce__");
this->def(&standard_coerce, "__coerce__");
}
template <class T, class U>