diff options
-rw-r--r-- | generator/cppgenerator.cpp | 2 | ||||
-rw-r--r-- | libshiboken/basewrapper.h | 2 | ||||
-rw-r--r-- | libshiboken/basewrapper_p.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp index 2e8285675..80e8cedfb 100644 --- a/generator/cppgenerator.cpp +++ b/generator/cppgenerator.cpp @@ -3233,7 +3233,7 @@ void CppGenerator::writeEnumInitialization(QTextStream& s, const AbstractMetaEnu if (!cppEnum->isAnonymous()) { - s << INDENT << "PyTypeObject* " << cpythonName << " = Shiboken::Enum::newTypeWithName(\"" << getClassTargetFullName(cppEnum) << "\", \"" + s << INDENT << "PyTypeObject* " << cpythonName << " = Shiboken::Enum::newTypeWithName(\"" << getClassTargetFullName(cppEnum) << "\", \"" << (cppEnum->enclosingClass() ? cppEnum->enclosingClass()->qualifiedCppName() + "::" : "") << cppEnum->name() << "\");" << endl; if (cppEnum->typeEntry()->flags()) diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index b7c3e3865..4bcd35e33 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -339,7 +339,7 @@ LIBSHIBOKEN_API void keepReference(SbkObject* self, const char* key, PyOb /** * Removes any reference previously added by keepReference function * \param self the wrapper instance that keeps references to other objects. - * \param key a key that identifies the C++ method signature and argument from where the referred Object came + * \param key a key that identifies the C++ method signature and argument from where the referred Object came. * \param referredObject the object whose reference is used by the self object. */ LIBSHIBOKEN_API void removeReference(SbkObject* self, const char* key, PyObject* referredObject); diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h index c382d3505..39b35f65d 100644 --- a/libshiboken/basewrapper_p.h +++ b/libshiboken/basewrapper_p.h @@ -101,11 +101,11 @@ struct SbkObjectTypePrivate ExtendedIsConvertibleFunc ext_isconvertible; /// Extended "toCpp" function to be used when a conversion operator is defined in another module. ExtendedToCppFunc ext_tocpp; - /// Pointer to a function responsible for deletetion of the C++ instance calling the proper destructor. + /// Pointer to a function responsible for deletion of the C++ instance calling the proper destructor. ObjectDestructor cpp_dtor; /// True if this type holds two or more C++ instances, e.g.: a Python class which inherits from two C++ classes. int is_multicpp:1; - /// True if this type was definied by the user. + /// True if this type was defined by the user. int is_user_type:1; /// Tells is the type is a value type or an object-type, see BEHAVIOUR_* constants. int type_behaviour:2; @@ -123,7 +123,7 @@ struct SbkObjectTypePrivate namespace Shiboken { /** - * Utility function uset to transform PyObject which suppot sequence protocol in a std::list + * Utility function used to transform a PyObject that implements sequence protocol in a std::list. **/ std::list<SbkObject*> splitPyObject(PyObject* pyObj); |