[Python-checkins] CVS: python/dist/src/Mac/Modules/res _Resmodule.c,1.4,1.5

Jack Jansen jackjansen@users.sourceforge.net
Fri, 30 Nov 2001 06:17:06 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/res
In directory usw-pr-cvs1:/tmp/cvs-serv22285/Mac/Modules/res

Modified Files:
	_Resmodule.c 
Log Message:
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
changes from start of branch upto r22b2 were already merged, of course).


Index: _Resmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/res/_Resmodule.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** _Resmodule.c	2001/09/05 15:43:11	1.4
--- _Resmodule.c	2001/11/30 14:16:34	1.5
***************
*** 6,15 ****
  
  
- #ifdef _WIN32
- #include "pywintoolbox.h"
- #else
  #include "macglue.h"
  #include "pymactoolbox.h"
- #endif
  
  /* Macro to test whether a weak-loaded CFM function exists */
--- 6,11 ----
***************
*** 551,555 ****
  
  PyTypeObject Resource_Type = {
! 	PyObject_HEAD_INIT(&PyType_Type)
  	0, /*ob_size*/
  	"Resource", /*tp_name*/
--- 547,551 ----
  
  PyTypeObject Resource_Type = {
! 	PyObject_HEAD_INIT(NULL)
  	0, /*ob_size*/
  	"Resource", /*tp_name*/