diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 15:32:48 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 16:08:22 -0200 |
commit | c984b7ee0adf8aebbb45f826dd18a6be8d36d5ec (patch) | |
tree | 69601c784655dcb54a689962b29fb37b203eb48f | |
parent | 5c813360b2f647753bfbacaf705504b7710d613c (diff) | |
download | shiboken-c984b7ee0adf8aebbb45f826dd18a6be8d36d5ec.tar.gz shiboken-c984b7ee0adf8aebbb45f826dd18a6be8d36d5ec.tar.xz shiboken-c984b7ee0adf8aebbb45f826dd18a6be8d36d5ec.zip |
SbkBaseWrapperPrivate renamed to SbkObjectPrivate
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r-- | libshiboken/basewrapper.cpp | 2 | ||||
-rw-r--r-- | libshiboken/basewrapper.h | 4 | ||||
-rw-r--r-- | libshiboken/basewrapper_p.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index 0e375cfc..fd9d8dec 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -250,7 +250,7 @@ PyObject* SbkObjectTypeTpNew(PyTypeObject* metatype, PyObject* args, PyObject* k PyObject* SbkObjectTpNew(PyTypeObject* subtype, PyObject*, PyObject*) { SbkObject* self = reinterpret_cast<SbkObject*>(subtype->tp_alloc(subtype, 0)); - self->d = new SbkBaseWrapperPrivate; + self->d = new SbkObjectPrivate; SbkObjectType* sbkType = reinterpret_cast<SbkObjectType*>(subtype); int numBases = sbkType->is_multicpp ? Shiboken::getNumberOfCppBaseClasses(subtype) : 1; diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index aeed8917..2c6c9c96 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -33,7 +33,7 @@ extern "C" { -struct SbkBaseWrapperPrivate; +struct SbkObjectPrivate; /// Base Python object for all the wrapped C++ classes. struct LIBSHIBOKEN_API SbkObject @@ -43,7 +43,7 @@ struct LIBSHIBOKEN_API SbkObject PyObject* ob_dict; /// List of weak references PyObject* weakreflist; - SbkBaseWrapperPrivate* d; + SbkObjectPrivate* d; }; diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h index 3e0757f2..6cd4b31f 100644 --- a/libshiboken/basewrapper_p.h +++ b/libshiboken/basewrapper_p.h @@ -64,7 +64,7 @@ extern "C" * \internal * Private data for SbkBaseWrapper */ -struct SbkBaseWrapperPrivate +struct SbkObjectPrivate { /// Pointer to the C++ class. void** cptr; |