[Python-checkins] python/dist/src/Modules unicodedata.c,2.16,2.17
aimacintyre@users.sourceforge.net
aimacintyre@users.sourceforge.net
Thu, 13 Jun 2002 04:55:16 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv20429
Modified Files:
unicodedata.c
Log Message:
_Py prefix is verboten for static entry points
Index: unicodedata.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata.c,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** unicodedata.c 3 Apr 2002 21:39:26 -0000 2.16
--- unicodedata.c 13 Jun 2002 11:55:14 -0000 2.17
***************
*** 278,282 ****
static int
! _Py_getname(Py_UCS4 code, char* buffer, int buflen)
{
int offset;
--- 278,282 ----
static int
! _getucname(Py_UCS4 code, char* buffer, int buflen)
{
int offset;
***************
*** 335,339 ****
int i;
char buffer[NAME_MAXLEN];
! if (!_Py_getname(code, buffer, sizeof(buffer)))
return 0;
for (i = 0; i < namelen; i++) {
--- 335,339 ----
int i;
char buffer[NAME_MAXLEN];
! if (!_getucname(code, buffer, sizeof(buffer)))
return 0;
for (i = 0; i < namelen; i++) {
***************
*** 385,389 ****
{
sizeof(_PyUnicode_Name_CAPI),
! _Py_getname,
_getcode
};
--- 385,389 ----
{
sizeof(_PyUnicode_Name_CAPI),
! _getucname,
_getcode
};
***************
*** 408,412 ****
}
! if (!_Py_getname((Py_UCS4) *PyUnicode_AS_UNICODE(v),
name, sizeof(name))) {
if (defobj == NULL) {
--- 408,412 ----
}
! if (!_getucname((Py_UCS4) *PyUnicode_AS_UNICODE(v),
name, sizeof(name))) {
if (defobj == NULL) {