Skip to content

Commit

Permalink
Fix ABI break and link error on MS Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Oct 20, 2011
1 parent 64850d9 commit 70e8fa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libshiboken/bindingmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,13 @@ SbkObjectType* BindingManager::resolveType(void** cptr, SbkObjectType* type)
return identifiedType ? identifiedType : type;
}

std::set<SbkObject*> BindingManager::getAllPyObjects()
std::set<PyObject*> BindingManager::getAllPyObjects()
{
std::set<SbkObject*> pyObjects;
std::set<PyObject*> pyObjects;
const WrapperMap& wrappersMap = m_d->wrapperMapper;
WrapperMap::const_iterator it = wrappersMap.begin();
for (; it != wrappersMap.end(); ++it)
pyObjects.insert(it->second);
pyObjects.insert(reinterpret_cast<PyObject*>(it->second));

return pyObjects;
}
Expand Down
2 changes: 1 addition & 1 deletion libshiboken/bindingmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class LIBSHIBOKEN_API BindingManager
*/
SbkObjectType* resolveType(void** cptr, SbkObjectType* type);

std::set<SbkObject*> getAllPyObjects();
std::set<PyObject*> getAllPyObjects();

/**
* Calls the function \p visitor for each object registered on binding manager.
Expand Down

0 comments on commit 70e8fa5

Please sign in to comment.