Removed glue code for QObject.inherits function.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
Renato Filho 2011-06-20 15:20:44 -03:00 • committed by Hugo Parente Lima
commit ebaf95ca1a
3 changed files with 20 additions and 19 deletions

View file

@ -102,6 +102,14 @@ PYSIDE_API void destroyQCoreApplication();
*/
PYSIDE_API PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, PyObject* name);
/**
* Check if self inherits from class_name
* \param self Python object
* \param class_name strict with the class name
* \return Returns true if self object inherits from class_name, otherwise returns false
*/
PYSIDE_API bool inherits(PyTypeObject* self, const char* class_name);
} //namespace PySide