return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
}
+#if 0
static int
longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
{
result = strtounicode(buffer, (char *)buffer);
return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
}
+#endif
/* XXX To save some code duplication, formatfloat/long/int could have been
shared with stringobject.c, converting from 8-bit to Unicode after the
return result;
}
+#if 0
static int
formatint(Py_UNICODE *buf,
size_t buflen,
else
return longtounicode(buf, buflen, fmt, x);
}
+#endif
static int
formatchar(Py_UNICODE *buf,