Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 28437:871da703e4c0 legacy-trunk
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 29 Mar 2003 10:06:18 +0000 |
| parents | 9e47f9ed49f6 |
| children | 28a2975514cd |
line wrap: on
line diff
--- a/Python/getargs.c Sat Mar 29 09:47:21 2003 +0000 +++ b/Python/getargs.c Sat Mar 29 10:06:18 2003 +0000 @@ -550,10 +550,10 @@ } #ifdef HAVE_LONG_LONG - case 'L': {/* LONG_LONG */ - LONG_LONG *p = va_arg( *p_va, LONG_LONG * ); - LONG_LONG ival = PyLong_AsLongLong( arg ); - if( ival == (LONG_LONG)-1 && PyErr_Occurred() ) { + case 'L': {/* PY_LONG_LONG */ + PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * ); + PY_LONG_LONG ival = PyLong_AsLongLong( arg ); + if( ival == (PY_LONG_LONG)-1 && PyErr_Occurred() ) { return converterr("long<L>", arg, msgbuf, bufsize); } else { *p = ival; @@ -1320,9 +1320,9 @@ } #ifdef HAVE_LONG_LONG - case 'L': /* LONG_LONG int */ + case 'L': /* PY_LONG_LONG int */ { - (void) va_arg(*p_va, LONG_LONG *); + (void) va_arg(*p_va, PY_LONG_LONG *); break; } #endif
