aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-15 17:55:36 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:49 -0300
commit304a9b93fc2cc65be4850f05629617a180463fa7 (patch)
tree05821b048e6a0743531e2c2e788541edbd07149b /libshiboken
parentcf6c0ca50f29c6e606b7c27fbceb8d1d6faf3f14 (diff)
Fixed comments typo.
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.cpp4
-rw-r--r--libshiboken/basewrapper.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index cb87e56d5..948adf1bd 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -849,7 +849,7 @@ void destroy(SbkObject* self, void* cppData)
//Python Object is not destroyed yet
if (cppData && Shiboken::BindingManager::instance().hasWrapper(cppData)) {
- // Remove from BindinManager
+ // Remove from BindingManager
Shiboken::BindingManager::instance().releaseWrapper(self);
}
@@ -959,7 +959,7 @@ void deallocData(SbkObject* self, bool cleanup)
clearReferences(self);
}
- // Remove from BindinManager
+ // Remove from BindingManager
Shiboken::BindingManager::instance().releaseWrapper(self);
Py_XDECREF(self->ob_dict);
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index 99e354745..bab83a08f 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -293,7 +293,7 @@ LIBSHIBOKEN_API void makeValid(SbkObject* self);
/**
* Destroy any data in Shiboken structure and c++ pointer if the pyboject has the ownership
**/
-LIBSHIBOKEN_API void destroy(SbkObject* self);
+LIBSHIBOKEN_API void destroy(SbkObject* self); //DEPRECATED
LIBSHIBOKEN_API void destroy(SbkObject* self, void* cppData);
/**