Diff of /Mac/Modules/carbonevt/CarbonEvtsupport.py [c840c5] .. [ca568f] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/Mac/Modules/carbonevt/CarbonEvtsupport.py
+++ b/Mac/Modules/carbonevt/CarbonEvtsupport.py
@@ -86,11 +86,13 @@
 PyObject *EventRef_New(EventRef itself);
 
 /********** EventTypeSpec *******/
+#if 0
 static PyObject*
 EventTypeSpec_New(EventTypeSpec *in)
 {
         return Py_BuildValue("ll", in->eventClass, in->eventKind);
 }
+#endif
 
 static int
 EventTypeSpec_Convert(PyObject *v, EventTypeSpec *out)
@@ -99,7 +101,7 @@
                         PyMac_GetOSType, &(out->eventClass),
                         &(out->eventKind)))
                 return 1;
-        return NULL;
+        return 0;
 }
 
 /********** end EventTypeSpec *******/
@@ -118,19 +120,20 @@
 {
         if (PyArg_ParseTuple(v, "ff", &(out->x), &(out->y)))
                 return 1;
-        return NULL;
+        return 0;
 }
 #endif
 
 /********** end HIPoint *******/
 
 /********** EventHotKeyID *******/
-
+#if 0
 static PyObject*
 EventHotKeyID_New(EventHotKeyID *in)
 {
         return Py_BuildValue("ll", in->signature, in->id);
 }
+#endif
 
 static int
 EventHotKeyID_Convert(PyObject *v, EventHotKeyID *out)