goto exit;
}
a = PyLong_AsLongLong(args[0]);
- if (a == (PY_LONG_LONG)-1 && PyErr_Occurred()) {
+ if (a == -1 && PyErr_Occurred()) {
goto exit;
}
skip_optional:
static PyObject *
test_long_long_converter_impl(PyObject *module, long long a)
-/*[clinic end generated code: output=3e8083f3aee4f18a input=d5fc81577ff4dd02]*/
+/*[clinic end generated code: output=7143b585d7e433e8 input=d5fc81577ff4dd02]*/
/*[clinic input]
version = dict->ma_version_tag;
- Py_BUILD_ASSERT(sizeof(unsigned PY_LONG_LONG) >= sizeof(version));
- return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)version);
+ Py_BUILD_ASSERT(sizeof(unsigned long long) >= sizeof(version));
+ return PyLong_FromUnsignedLongLong((unsigned long long)version);
}
# define SIZEOF_HKEY 8
# define SIZEOF_SIZE_T 8
/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff
- sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
+ sizeof(off_t) > sizeof(long), and sizeof(long long) >= sizeof(off_t).
On Win64 the second condition is not true, but if fpos_t replaces off_t
then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
should define this. */
goto exit;
}}}}
{paramname} = PyLong_AsLongLong({argname});
- if ({paramname} == (PY_LONG_LONG)-1 && PyErr_Occurred()) {{{{
+ if ({paramname} == -1 && PyErr_Occurred()) {{{{
goto exit;
}}}}
""".format(argname=argname, paramname=self.name)