2
0
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:
Ullrich Köthe
2000-11-17 12:38:46 +00:00
parent 0d1255ecdf
commit 056b0e63fb
7 changed files with 434 additions and 21 deletions

View File

@@ -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);
}