diff options
Diffstat (limited to 'sources/pyside6/libpyside/pysidesignal.h')
| -rw-r--r-- | sources/pyside6/libpyside/pysidesignal.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/pysidesignal.h b/sources/pyside6/libpyside/pysidesignal.h index 55e1ee405..edef37af1 100644 --- a/sources/pyside6/libpyside/pysidesignal.h +++ b/sources/pyside6/libpyside/pysidesignal.h @@ -72,7 +72,21 @@ extern "C" namespace PySide { namespace Signal { -PYSIDE_API bool checkType(PyObject *type); +/** + * This function checks for the PySideSignal type. + * + * @param pyObj + * @return whether pyObj is a PySideSignal + **/ +PYSIDE_API bool checkType(PyObject *pyObj); + +/** + * This function checks for the PySideSignalInstanceType type. + * + * @param pyObj + * @return Whether pyObj is a PySideSignalInstance + **/ +PYSIDE_API bool checkInstanceType(PyObject *pyObj); /** * Register all C++ signals of a QObject on Python type. |
