mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
Minute enhancement.
[SVN r9547]
This commit is contained in:
@@ -82,8 +82,8 @@ struct hello_callback : hello
|
||||
{ return boost::python::callback<std::string>::call_method(self, "greet"); }
|
||||
|
||||
// Supplies the default implementation of greet
|
||||
static std::string <a name= "default_implementation">default_greet</a>(const hello& self) const // <a href="#derived_5">5</a>
|
||||
{ return self.hello::greet(); }
|
||||
static std::string <a name= "default_implementation">default_greet</a>(const hello& self_) const // <a href="#derived_5">5</a>
|
||||
{ return self_.hello::greet(); }
|
||||
private:
|
||||
PyObject* self; // <a href="#derived_1">1</a>
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user