diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-29 18:13:45 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-30 17:46:16 -0300 |
commit | 1da0a532711cfd3165d5c3d2723fa715c4e31175 (patch) | |
tree | f2cc04c3cf37be68350d7cff6944c6fa14e89df5 /libshiboken | |
parent | c0c093d485798aec96ea7a7230c0639797cd9830 (diff) |
Class Shiboken::ParentInfo doesn't need to be exported.
It was moved to basewrapper private header.
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/basewrapper.h | 18 | ||||
-rw-r--r-- | libshiboken/basewrapper_p.h | 16 |
2 files changed, 18 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 { diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h index 555f40d49..a1c69581e 100644 --- a/libshiboken/basewrapper_p.h +++ b/libshiboken/basewrapper_p.h @@ -134,6 +134,22 @@ inline std::list<SbkBaseWrapperType*> getCppBaseClasses(PyTypeObject* baseType) return visitor.bases(); } +struct SbkBaseWrapper; + +/// Linked list of SbkBaseWrapper pointers +typedef std::list<SbkBaseWrapper*> ChildrenList; + +/// Struct used to store information about object parent and children. +struct ParentInfo +{ + /// Default ctor. + ParentInfo() : parent(0) {} + /// Pointer to parent object. + SbkBaseWrapper* parent; + /// List of object children. + ChildrenList children; +}; + } #endif |