/usr/lib/pypy/include/stringobject.h is in pypy-dev 1.8+dfsg-2.
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 | /* String object interface */
#ifndef Py_STRINGOBJECT_H
#define Py_STRINGOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
int PyOS_snprintf(char *str, size_t size, const char *format, ...);
#define PyString_GET_SIZE(op) PyString_Size(op)
#define PyString_AS_STRING(op) PyString_AsString(op)
typedef struct {
PyObject_HEAD
char* buffer;
Py_ssize_t size;
} PyStringObject;
PyObject *PyString_FromFormatV(const char *format, va_list vargs);
PyObject *PyString_FromFormat(const char *format, ...);
#ifdef __cplusplus
}
#endif
#endif
|