diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-12 21:41:51 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-12 21:41:51 (GMT) |
commit | a05ac607d720727bc0d3799b7bea7a81e02ea561 (patch) | |
tree | c000d84ecf27d68dcdcbfa954b2d03e0f3566800 /Mac/Modules/res | |
parent | 608b3fa801303332de71ef6bad696e9a8b7b00f3 (diff) | |
download | cpython-a05ac607d720727bc0d3799b7bea7a81e02ea561.zip cpython-a05ac607d720727bc0d3799b7bea7a81e02ea561.tar.gz cpython-a05ac607d720727bc0d3799b7bea7a81e02ea561.tar.bz2 |
Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.
Diffstat (limited to 'Mac/Modules/res')
-rw-r--r-- | Mac/Modules/res/Resmodule.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index 6eeb3b8..b5857e7 100644 --- a/Mac/Modules/res/Resmodule.c +++ b/Mac/Modules/res/Resmodule.c @@ -549,6 +549,12 @@ ResObj_setattr(self, name, value) } +#define ResObj_compare NULL + +#define ResObj_repr NULL + +#define ResObj_hash NULL + PyTypeObject Resource_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ @@ -560,6 +566,12 @@ PyTypeObject Resource_Type = { 0, /*tp_print*/ (getattrfunc) ResObj_getattr, /*tp_getattr*/ (setattrfunc) ResObj_setattr, /*tp_setattr*/ + (cmpfunc) ResObj_compare, /*tp_compare*/ + (reprfunc) ResObj_repr, /*tp_repr*/ + (PyNumberMethods *)0, /* tp_as_number */ + (PySequenceMethods *)0, /* tp_as_sequence */ + (PyMappingMethods *)0, /* tp_as_mapping */ + (hashfunc) ResObj_hash, /*tp_hash*/ }; /* -------------------- End object type Resource -------------------- */ |