2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Initial work for virtual function support

[SVN r13175]
This commit is contained in:
Dave Abrahams
2002-03-11 18:43:02 +00:00
parent 2fa0910547
commit bccd854676
8 changed files with 360 additions and 49 deletions

View File

@@ -169,9 +169,9 @@ find_instance_impl(PyObject* inst, converter::undecorated_type_id_t type)
instance* self = reinterpret_cast<instance*>(inst);
for (instance_holder::iterator match(self->objects), end(0); match != end; ++match)
for (instance_holder* match = self->objects; match != 0; match = match->next())
{
void* const found = (*match).holds(type);
void* const found = match->holds(type);
if (found)
return found;
}