Mercurial > cpython-lru_cache-weakref
diff Objects/methodobject.c @ 1848:b724599401ff legacy-trunk
Merge back to main trunk
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 30 Aug 1994 08:27:36 +0000 |
| parents | 7c3245c18677 |
| children | de49d49044d7 |
line wrap: on
line diff
--- a/Objects/methodobject.c Tue Aug 30 08:19:36 1994 +0000 +++ b/Objects/methodobject.c Tue Aug 30 08:27:36 1994 +0000 @@ -1,5 +1,5 @@ /*********************************************************** -Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, +Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved @@ -149,16 +149,16 @@ "builtin_function_or_method", sizeof(methodobject), 0, - meth_dealloc, /*tp_dealloc*/ + (destructor)meth_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ 0, /*tp_getattr*/ 0, /*tp_setattr*/ - meth_compare, /*tp_compare*/ - meth_repr, /*tp_repr*/ + (cmpfunc)meth_compare, /*tp_compare*/ + (reprfunc)meth_repr, /*tp_repr*/ 0, /*tp_as_number*/ 0, /*tp_as_sequence*/ 0, /*tp_as_mapping*/ - meth_hash, /*tp_hash*/ + (hashfunc)meth_hash, /*tp_hash*/ }; static object *listmethods PROTO((struct methodlist *)); /* Forward */
