Changeset 73153 in vbox for trunk/src/libs/xpcom18a4/python
- Timestamp:
- Jul 16, 2018 10:37:06 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/src/ErrorUtils.cpp
r59809 r73153 441 441 char *tempResult = PyString_AsString(obResult); 442 442 #else 443 char *tempResult = PyUnicode_AsUTF8(obResult); 443 /* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */ 444 const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult); 444 445 #endif 445 446 result = (char *)PyMem_Malloc(strlen(tempResult)+1);
Note:
See TracChangeset
for help on using the changeset viewer.