MCPcopy Create free account
hub / github.com/mhammond/pywin32 / PyWinCoreString_Concat

Function PyWinCoreString_Concat

Pythonwin/win32uimodule.cpp:745–755  ·  view source on GitHub ↗

Unicode versions of '_Concat' etc have different sigs. Make them the same here...

Source from the content-addressed store, hash-verified

743// Unicode versions of '_Concat' etc have different sigs. Make them the
744// same here...
745void PyWinCoreString_Concat(register PyObject **pv, register PyObject *w)
746{
747 if (!w) { // hrm - string version doesn't do this, but I saw PyObject_Repr() return NULL...
748 Py_XDECREF(*pv);
749 *pv = NULL;
750 return;
751 }
752 PyObject *tmp = PyUnicode_Concat(*pv, w);
753 Py_DECREF(*pv);
754 *pv = tmp;
755}
756
757void PyWinCoreString_ConcatAndDel(register PyObject **pv, register PyObject *w)
758{

Callers 2

Python_do_int_callbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected