Mercurial > cpython-lru_cache-weakref
diff Objects/moduleobject.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 | 315272ec4d5b |
| children | 866c81068dbd |
line wrap: on
line diff
--- a/Objects/moduleobject.c Tue Aug 30 08:19:36 1994 +0000 +++ b/Objects/moduleobject.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 @@ -162,10 +162,10 @@ "module", /*tp_name*/ sizeof(moduleobject), /*tp_size*/ 0, /*tp_itemsize*/ - module_dealloc, /*tp_dealloc*/ + (destructor)module_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ - module_getattr, /*tp_getattr*/ - module_setattr, /*tp_setattr*/ + (getattrfunc)module_getattr, /*tp_getattr*/ + (setattrfunc)module_setattr, /*tp_setattr*/ 0, /*tp_compare*/ - module_repr, /*tp_repr*/ + (reprfunc)module_repr, /*tp_repr*/ };
