The refactoring patch for DoExecute missed this case of a variadic function that just silently
accepts a StringRef which it then tries to reinterpret as a C-string.
This should fix the Windows builds.
Differential D49309
No longer pass a StringRef to the Python API Authored by teemperor on Jul 13 2018, 10:53 AM.
Details The refactoring patch for DoExecute missed this case of a variadic function that just silently This should fix the Windows builds.
Diff Detail
Event TimelineComment Actions If the implementation of a function requires a string - it should probably
| ||||||
Of course this could have been fixed by using "s#" which allows the length to be supplied:
Py_BuildValue("(Os#)", session_dict.get(), command.data(), (int)command.size()));