aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-29 18:13:45 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-30 17:46:16 -0300
commit1da0a532711cfd3165d5c3d2723fa715c4e31175 (patch)
treef2cc04c3cf37be68350d7cff6944c6fa14e89df5 /libshiboken/basewrapper.h
parentc0c093d485798aec96ea7a7230c0639797cd9830 (diff)
Class Shiboken::ParentInfo doesn't need to be exported.
It was moved to basewrapper private header.
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r--libshiboken/basewrapper.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index c2b1e616a..2386646ca 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -44,22 +44,6 @@
namespace Shiboken
{
-struct SbkBaseWrapper;
-
-/// Linked list of SbkBaseWrapper pointers
-typedef std::list<SbkBaseWrapper*> ChildrenList;
-
-/// Struct used to store information about object parent and children.
-struct LIBSHIBOKEN_API ParentInfo
-{
- /// Default ctor.
- ParentInfo() : parent(0) {}
- /// Pointer to parent object.
- SbkBaseWrapper* parent;
- /// List of object children.
- ChildrenList children;
-};
-
/**
* 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.
@@ -115,6 +99,8 @@ struct LIBSHIBOKEN_API SbkBaseWrapperType
int is_multicpp:1;
};
+struct ParentInfo;
+
/// Base Python object for all the wrapped C++ classes.
struct LIBSHIBOKEN_API SbkBaseWrapper
{