diff options
author | Guido van Rossum <guido@python.org> | 1994-08-30 08:27:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-30 08:27:36 (GMT) |
commit | 1d5735e84621a7fe68d361fa0e289fa2c3310836 (patch) | |
tree | 4ee6f32fa4743f4c6641b04131e449bc71a5ea25 /Objects/moduleobject.c | |
parent | 013142a95fd63a05d09cec7b36b7c86cc98e30c1 (diff) | |
download | cpython-1d5735e84621a7fe68d361fa0e289fa2c3310836.zip cpython-1d5735e84621a7fe68d361fa0e289fa2c3310836.tar.gz cpython-1d5735e84621a7fe68d361fa0e289fa2c3310836.tar.bz2 |
Merge back to main trunk
Diffstat (limited to 'Objects/moduleobject.c')
-rw-r--r-- | Objects/moduleobject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c index 9a687b4..b98d843 100644 --- a/Objects/moduleobject.c +++ b/Objects/moduleobject.c @@ -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 @@ typeobject Moduletype = { "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*/ }; |