Fixed args type parse for bool types on signal.
This commit is contained in:
parent
d27d6958c0
commit
a326f0ff29
1 changed files with 2 additions and 0 deletions
|
|
@ -264,6 +264,8 @@ char* get_type_name(PyObject* type)
|
||||||
typeName = strdup("long");
|
typeName = strdup("long");
|
||||||
else if (objType == &PyFloat_Type)
|
else if (objType == &PyFloat_Type)
|
||||||
typeName = strdup("qreal");
|
typeName = strdup("qreal");
|
||||||
|
else if (objType == &PyBool_Type)
|
||||||
|
typeName = strdup("bool");
|
||||||
else
|
else
|
||||||
typeName = strdup("object");
|
typeName = strdup("object");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue