summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper_p.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 17:47:10 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit0949f2b49dcfd9516e4e3e4044a97070533799ad (patch)
treed923b0c89c8495f9db49912667b9f647f60abf1d /libshiboken/basewrapper_p.h
parentf1ad9bf233f1fe88e72d350caaffc5164ce20511 (diff)
downloadshiboken-0949f2b49dcfd9516e4e3e4044a97070533799ad.tar.gz
shiboken-0949f2b49dcfd9516e4e3e4044a97070533799ad.tar.xz
shiboken-0949f2b49dcfd9516e4e3e4044a97070533799ad.zip
SbkBaseWrapper renamed to SbkObject
Diffstat (limited to 'libshiboken/basewrapper_p.h')
-rw-r--r--libshiboken/basewrapper_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h
index 1a72781d..34a3ea6d 100644
--- a/libshiboken/basewrapper_p.h
+++ b/libshiboken/basewrapper_p.h
@@ -27,7 +27,7 @@
#include <list>
#include <map>
-struct SbkBaseWrapper;
+struct SbkObject;
namespace Shiboken
{
@@ -35,11 +35,11 @@ namespace Shiboken
* This mapping associates a method and argument of an wrapper object with the wrapper of
* said argument when it needs the binding to help manage its reference counting.
*/
-typedef std::map<std::string, std::list<SbkBaseWrapper*> > RefCountMap;
+typedef std::map<std::string, std::list<SbkObject*> > RefCountMap;
/// Linked list of SbkBaseWrapper pointers
-typedef std::list<SbkBaseWrapper*> ChildrenList;
+typedef std::list<SbkObject*> ChildrenList;
/// Struct used to store information about object parent and children.
struct ParentInfo
@@ -47,7 +47,7 @@ struct ParentInfo
/// Default ctor.
ParentInfo() : parent(0), hasWrapperRef(false) {}
/// Pointer to parent object.
- SbkBaseWrapper* parent;
+ SbkObject* parent;
/// List of object children.
ChildrenList children;
/// has internal ref
@@ -86,7 +86,7 @@ namespace Shiboken
/**
* Utility function uset to transform PyObject which suppot sequence protocol in a std::list
**/
-std::list<SbkBaseWrapper*> splitPyObject(PyObject* pyObj);
+std::list<SbkObject*> splitPyObject(PyObject* pyObj);
struct SbkBaseWrapperType;
@@ -185,7 +185,7 @@ inline std::list<SbkBaseWrapperType*> getCppBaseClasses(PyTypeObject* baseType)
* Decrements the reference counters of every object referred by self.
* \param self the wrapper instance that keeps references to other objects.
*/
-void clearReferences(SbkBaseWrapper* self);
+void clearReferences(SbkObject* self);
} // namespace Shiboken