aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-07-16 11:55:13 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:02 -0300
commitb6fa93c405059cdf43ada7b6fc935462871abd09 (patch)
treee7a6553a9a3bc2e3c8b2a1081839e94047c392ea /libshiboken
parent96bd943d57b1864d1f5e7359b100c67d01934619 (diff)
Replaced trailing space by a period in documentation comment.
Also removed other trailing space elsewhere and fixed some typos in the comments.
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.h2
-rw-r--r--libshiboken/basewrapper_p.h6
2 files changed, 4 insertions, 4 deletions
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);