mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
require a long long data type (closes #27961)
This commit is contained in:
parent
b3b0767861
commit
ed4aa83ff7
32 changed files with 156 additions and 442 deletions
|
@ -769,7 +769,6 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
|
|||
break;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LONG_LONG
|
||||
case 'L': {/* PY_LONG_LONG */
|
||||
PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * );
|
||||
PY_LONG_LONG ival;
|
||||
|
@ -793,7 +792,6 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags,
|
|||
*p = ival;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
case 'f': {/* float */
|
||||
float *p = va_arg(*p_va, float *);
|
||||
|
@ -2088,10 +2086,8 @@ skipitem(const char **p_format, va_list *p_va, int flags)
|
|||
case 'I': /* int sized bitfield */
|
||||
case 'l': /* long int */
|
||||
case 'k': /* long int sized bitfield */
|
||||
#ifdef HAVE_LONG_LONG
|
||||
case 'L': /* PY_LONG_LONG */
|
||||
case 'K': /* PY_LONG_LONG sized bitfield */
|
||||
#endif
|
||||
case 'n': /* Py_ssize_t */
|
||||
case 'f': /* float */
|
||||
case 'd': /* double */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue