[Python-checkins] commit of r41900 - python/branches/ssize_t/Include/object.h

neal.norwitz python-checkins at python.org
Tue Jan 3 09:20:36 CET 2006


Author: neal.norwitz
Date: Tue Jan  3 09:20:35 2006
New Revision: 41900

Modified:
   python/branches/ssize_t/Include/object.h
Log:
I'm not sure if this is technically correct.  intarg types are no longer
used anywhere in the core with the exception of  ./RISCOS/Modules
swimodule.c and drawfmodule.c which have not been converted yet AFAIK.



Modified: python/branches/ssize_t/Include/object.h
==============================================================================
--- python/branches/ssize_t/Include/object.h	(original)
+++ python/branches/ssize_t/Include/object.h	Tue Jan  3 09:20:35 2006
@@ -129,8 +129,8 @@
 typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
 typedef int (*inquiry)(PyObject *);
 typedef int (*coercion)(PyObject **, PyObject **);
-typedef PyObject *(*intargfunc)(PyObject *, int);
-typedef PyObject *(*intintargfunc)(PyObject *, int, int);
+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 *);


More information about the Python-checkins mailing list