Commits

Anonymous committed 1142996

Made AEDesc_{New,Convert} global

Comments (0)

Files changed (2)

Mac/Modules/ae/AEmodule.c

 
 /* ----------------------- Object type AEDesc ----------------------- */
 
-staticforward PyTypeObject AEDesc_Type;
+PyTypeObject AEDesc_Type;
 
 #define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type)
 
 	AEDesc ob_itself;
 } AEDescObject;
 
-static PyObject *AEDesc_New(itself)
+PyObject *AEDesc_New(itself)
 	AEDesc *itself;
 {
 	AEDescObject *it;
 	it->ob_itself = *itself;
 	return (PyObject *)it;
 }
-static AEDesc_Convert(v, p_itself)
+AEDesc_Convert(v, p_itself)
 	PyObject *v;
 	AEDesc *p_itself;
 {
 	{NULL, NULL, 0}
 };
 
-static PyMethodChain AEDesc_chain = { AEDesc_methods, NULL };
+PyMethodChain AEDesc_chain = { AEDesc_methods, NULL };
 
 static PyObject *AEDesc_getattr(self, name)
 	AEDescObject *self;
 
 #define AEDesc_setattr NULL
 
-staticforward PyTypeObject AEDesc_Type = {
+PyTypeObject AEDesc_Type = {
 	PyObject_HEAD_INIT(&PyType_Type)
 	0, /*ob_size*/
 	"AEDesc", /*tp_name*/

Mac/Modules/ae/aesupport.py

 
 module = MacModule('AE', 'AE', includestuff, finalstuff, initstuff)
 
-class AEDescDefiniton(ObjectDefinition):
+class AEDescDefinition(GlobalObjectDefinition):
 
 	def __init__(self, name, prefix = None, itselftype = None):
-		ObjectDefinition.__init__(self, name, prefix or name, itselftype or name)
+		GlobalObjectDefinition.__init__(self, name, prefix or name, itselftype or name)
 		self.argref = "*"
 
 	def outputFreeIt(self, name):
 """)
 
 
-aedescobject = AEDescDefiniton('AEDesc')
+aedescobject = AEDescDefinition('AEDesc')
 module.addobject(aedescobject)
 
 functions = []