summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-06-24 01:06:47 (GMT)
committerEric Smith <eric@trueblade.com>2008-06-24 01:06:47 (GMT)
commit6d7e7a730e05dbf3511f94df400984dd5b7bdfdc (patch)
treef895c365c8f5f3de34dff5939667effdeb5409b1 /Include
parent7d84055e253f96437f1681faa3614ecd204b0a49 (diff)
downloadcpython-6d7e7a730e05dbf3511f94df400984dd5b7bdfdc.zip
cpython-6d7e7a730e05dbf3511f94df400984dd5b7bdfdc.tar.gz
cpython-6d7e7a730e05dbf3511f94df400984dd5b7bdfdc.tar.bz2
Merged revisions 64491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r64491 | eric.smith | 2008-06-23 20:42:10 -0400 (Mon, 23 Jun 2008) | 1 line Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140. ........
Diffstat (limited to 'Include')
-rw-r--r--Include/bytesobject.h4
-rw-r--r--Include/unicodeobject.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h
index b2d451a..ece06d2 100644
--- a/Include/bytesobject.h
+++ b/Include/bytesobject.h
@@ -91,8 +91,8 @@ PyAPI_FUNC(int) PyBytes_AsStringAndSize(
see Objects/stringlib/localeutil.h */
PyAPI_FUNC(int) _PyBytes_InsertThousandsGrouping(char *buffer,
- Py_ssize_t len,
- char *plast,
+ Py_ssize_t n_buffer,
+ Py_ssize_t n_digits,
Py_ssize_t buf_size,
Py_ssize_t *count,
int append_zero_char);
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 63c5d76..d5b6572 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1458,8 +1458,8 @@ PyAPI_FUNC(PyObject *) _PyUnicode_XStrip(
see Objects/stringlib/localeutil.h */
PyAPI_FUNC(int) _PyUnicode_InsertThousandsGrouping(Py_UNICODE *buffer,
- Py_ssize_t len,
- Py_UNICODE *plast,
+ Py_ssize_t n_buffer,
+ Py_ssize_t n_digits,
Py_ssize_t buf_size,
Py_ssize_t *count,
int append_zero_char);