Ticket #165: _speedups_no_warnings_x64-r988.diff
| File _speedups_no_warnings_x64-r988.diff, 913 bytes (added by cboos, 15 years ago) |
|---|
-
genshi/_speedups.c
43 43 44 44 /* Markup class */ 45 45 46 Py API_DATA(PyTypeObject)MarkupType;46 PyTypeObject MarkupType; 47 47 48 48 PyDoc_STRVAR(Markup__doc__, 49 49 "Marks a string as being safe for inclusion in HTML/XML output without\n\ … … 232 232 static char *kwlist[] = {"seq", "escape_quotes", 0}; 233 233 PyObject *seq = NULL, *seq2, *tmp, *tmp2; 234 234 char quotes = 1; 235 int n, i; 235 Py_ssize_t n; 236 int i; 236 237 237 238 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|b", kwlist, &seq, "es)) { 238 239 return NULL; … … 310 311 Markup_mod(PyObject *self, PyObject *args) 311 312 { 312 313 PyObject *tmp, *tmp2, *ret, *args2; 313 int i, nargs = 0; 314 int i; 315 Py_ssize_t nargs = 0; 314 316 PyObject *kwds = NULL; 315 317 316 318 if (PyDict_Check(args)) {
