25
25
typeName = "double"; // float is a UserType in QVariant.
26
26
else if (pyObj == reinterpret_cast<PyObject*>(&PyLong_Type))
27
27
typeName = "int"; // long is a UserType in QVariant.
30
34
else if (PyString_Check(pyObj))
31
35
typeName = PyString_AS_STRING(pyObj);
32
36
else if (PyUnicode_Check(pyObj))