summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:09:39 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:09:39 (GMT)
commitb2eaa44646088af26434f2eeede3e00f99b03f69 (patch)
tree33ac517af5b5abd26da9ea5c35dc0eb41c16f2e3 /Include/object.h
parent28ad48ee0a048e0f3a0d9a8462c29956f943110f (diff)
downloadcpython-b2eaa44646088af26434f2eeede3e00f99b03f69.zip
cpython-b2eaa44646088af26434f2eeede3e00f99b03f69.tar.gz
cpython-b2eaa44646088af26434f2eeede3e00f99b03f69.tar.bz2
Remove some old types for int based functions (Py_ssize_t is da thing now.)
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/object.h b/Include/object.h
index 131812f..184d4c6 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -130,21 +130,12 @@ typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
typedef int (*inquiry)(PyObject *);
typedef Py_ssize_t (*lenfunc)(PyObject *);
typedef int (*coercion)(PyObject **, PyObject **);
-typedef PyObject *(*intargfunc)(PyObject *, int) Py_DEPRECATED(2.5);
-typedef PyObject *(*intintargfunc)(PyObject *, int, int) Py_DEPRECATED(2.5);
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
-typedef int(*intobjargproc)(PyObject *, int, PyObject *);
-typedef int(*intintobjargproc)(PyObject *, int, int, PyObject *);
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
-/* int-based buffer interface */
-typedef int (*getreadbufferproc)(PyObject *, int, void **);
-typedef int (*getwritebufferproc)(PyObject *, int, void **);
-typedef int (*getsegcountproc)(PyObject *, int *);
-typedef int (*getcharbufferproc)(PyObject *, int, char **);
/* ssize_t-based buffer interface */
typedef Py_ssize_t (*readbufferproc)(PyObject *, Py_ssize_t, void **);
typedef Py_ssize_t (*writebufferproc)(PyObject *, Py_ssize_t, void **);