[Zope-Checkins] CVS: Zope/lib/python/AccessControl - cAccessControl.c:1.12.14.1.2.1

Matthew T. Kromer matt@zope.com
Thu, 13 Dec 2001 11:47:33 -0500


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv18634

Modified Files:
      Tag: matt-stability-branch
	cAccessControl.c 
Log Message:
Remove COUNT_ALLOCS ifdef from cAccessControl.c because modified
ExtensionClass.h has a magic padding macro for padding out the type.


=== Zope/lib/python/AccessControl/cAccessControl.c 1.12.14.1 => 1.12.14.1.2.1 ===
 	/* Docstring		*/
 	ZopeSecurityPolicy__doc__,		/* tp_doc	*/
-#ifdef COUNT_ALLOCS
-	0,					/* tp_alloc	*/
-	0,					/* tp_free	*/
-	0,					/* tp_maxalloc	*/
-	NULL,					/* tp_next	*/
-#endif
 	METHOD_CHAIN(ZopeSecurityPolicy_methods),/* methods	*/
 	EXTENSIONCLASS_BINDABLE_FLAG,		/* flags	*/
 };
@@ -500,12 +494,6 @@
 	0,					/* tp_xxx4	*/
 	/* Docstring		*/
 	SecurityManager__doc__,		/* tp_doc	*/
-#ifdef COUNT_ALLOCS
-	0,					/* tp_alloc	*/
-	0,					/* tp_free	*/
-	0,					/* tp_maxalloc	*/
-	NULL,					/* tp_next	*/
-#endif
 	METHOD_CHAIN(SecurityManager_methods),	/* methods	*/
 	0,					/* flags	*/
 };
@@ -554,12 +542,6 @@
 	0,					/* tp_xxx4	*/
 	/* Docstring		*/
 	PermissionRole__doc__,			/* tp_doc	*/
-#ifdef COUNT_ALLOCS
-	0,					/* tp_alloc	*/
-	0,					/* tp_free	*/
-	0,					/* tp_maxalloc	*/
-	NULL,					/* tp_next	*/
-#endif
 	METHOD_CHAIN(PermissionRole_methods),	/* methods	*/
 	EXTENSIONCLASS_BINDABLE_FLAG/*|
 	EXTENSIONCLASS_INSTDICT_FLAG*/,		/* flags	*/
@@ -619,12 +601,6 @@
 	0,					/* tp_xxx4	*/
 	/* Docstring		*/
 	imPermissionRole__doc__,		/* tp_doc	*/
-#ifdef COUNT_ALLOCS
-	0,					/* tp_alloc	*/
-	0,					/* tp_free	*/
-	0,					/* tp_maxalloc	*/
-	NULL,					/* tp_next	*/
-#endif
 	METHOD_CHAIN(imPermissionRole_methods), /* methods	*/
 	EXTENSIONCLASS_BINDABLE_FLAG,		/* flags	*/
 };