mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
implemented the shared method table optimization
[SVN r8239]
This commit is contained in:
@@ -30,7 +30,7 @@ void Module::add(Ptr x, const char* name)
|
||||
|
||||
void Module::add(PyTypeObject* x, const char* name /*= 0*/)
|
||||
{
|
||||
this->add(Ptr(as_object(x), Ptr::new_ref),
|
||||
this->add(Ptr(as_object(x)),
|
||||
name ? name : x->tp_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user