summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-15 17:55:36 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-15 17:55:36 -0300
commit709235038fc2ee25984e01759403f1f8a75338f7 (patch)
treef55fde978b6d5aca5cbe51c7a94614ed14370211
parentfb4035a69475759e58e25d5aa0f061d6c212f4af (diff)
downloadshiboken-709235038fc2ee25984e01759403f1f8a75338f7.tar.gz
shiboken-709235038fc2ee25984e01759403f1f8a75338f7.tar.xz
shiboken-709235038fc2ee25984e01759403f1f8a75338f7.zip
Fixed comments typo.
-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 1f2499d0..f40e90be 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -848,7 +848,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);
}
@@ -958,7 +958,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 99e35474..bab83a08 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);
/**