/usr/lib/pypy/include/datetime.h is in pypy-dev 5.0.1+dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #ifndef DATETIME_H
#define DATETIME_H
#ifdef __cplusplus
extern "C" {
#endif
/* Define structure for C API. */
typedef struct {
/* type objects */
PyTypeObject *DateType;
PyTypeObject *DateTimeType;
PyTypeObject *TimeType;
PyTypeObject *DeltaType;
} PyDateTime_CAPI;
PyAPI_DATA(PyDateTime_CAPI*) PyDateTimeAPI;
#define PyDateTime_IMPORT \
do { \
if(PyDateTimeAPI==NULL) \
PyDateTimeAPI = _PyDateTime_Import(); \
} while (0)
typedef struct {
PyObject_HEAD
} PyDateTime_Delta;
#ifdef __cplusplus
}
#endif
#endif
|