You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix the code from raising errors and not doing what it suppose to do, the PyString_FromStringAndSize has been replaced with PyString_FromString. I'm not experienced with C-Extension stuff, so it might broke something:
The following is replaced:
if (dp[i]->edid_len>0&&dp[i]->edid!=NULL&&
(value=PyString_FromStringAndSize(dp[i]->edid, dp[i]->edid_len)) !=NULL) {
PyDict_SetItemString(d, "edid", value);
}
with:
if (dp[i]->edid_len>0&&dp[i]->edid!=NULL&&
(value=PyString_FromString(dp[i]->edid)) !=NULL) {
PyDict_SetItemString(d, "edid", value);
}
Investigate what is the expected output and what we are getting currently.
The text was updated successfully, but these errors were encountered:
To fix the code from raising errors and not doing what it suppose to do, the
PyString_FromStringAndSize
has been replaced withPyString_FromString
. I'm not experienced with C-Extension stuff, so it might broke something:The following is replaced:
with:
Investigate what is the expected output and what we are getting currently.
The text was updated successfully, but these errors were encountered: