]> granicus.if.org Git - python/commitdiff
- Changed GestaltEqu.h to Gestalt.h
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Feb 1997 13:56:59 +0000 (13:56 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Feb 1997 13:56:59 +0000 (13:56 +0000)
- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h
- Regenerated bgen modules from new universal headers
- Changed some of the s# in PyArg_ParseTuple to m# (unfortunately:
  this should have been a different commit)

17 files changed:
Mac/Modules/cm/Cmmodule.c
Mac/Modules/cm/cmscan.py
Mac/Modules/ctbmodule.c
Mac/Modules/evt/Evtmodule.c
Mac/Modules/evt/evtsupport.py
Mac/Modules/gestaltmodule.c
Mac/Modules/macfsmodule.c
Mac/Modules/macmodule.c
Mac/Modules/macosmodule.c
Mac/Modules/macspeechmodule.c
Mac/Modules/menu/Menumodule.c
Mac/Modules/menu/menusupport.py
Mac/Modules/qd/Qdmodule.c
Mac/Modules/qd/qdsupport.py
Mac/Modules/qt/Qtmodule.c
Mac/Modules/qt/qtscan.py
Mac/Modules/qt/qtsupport.py

index fd8b331029b4c7194bce93171649a115be912d75..93aab4501d718b51036900c9b008bbb1c8a0410f 100644 (file)
@@ -146,54 +146,6 @@ static PyObject *CmpInstObj_GetComponentInstanceError(_self, _args)
        return _res;
 }
 
-static PyObject *CmpInstObj_ComponentFunctionImplemented(_self, _args)
-       ComponentInstanceObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       long _rv;
-       short ftnNumber;
-       if (!PyArg_ParseTuple(_args, "h",
-                             &ftnNumber))
-               return NULL;
-       _rv = ComponentFunctionImplemented(_self->ob_itself,
-                                          ftnNumber);
-       _res = Py_BuildValue("l",
-                            _rv);
-       return _res;
-}
-
-static PyObject *CmpInstObj_GetComponentVersion(_self, _args)
-       ComponentInstanceObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       long _rv;
-       if (!PyArg_ParseTuple(_args, ""))
-               return NULL;
-       _rv = GetComponentVersion(_self->ob_itself);
-       _res = Py_BuildValue("l",
-                            _rv);
-       return _res;
-}
-
-static PyObject *CmpInstObj_ComponentSetTarget(_self, _args)
-       ComponentInstanceObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       long _rv;
-       ComponentInstance target;
-       if (!PyArg_ParseTuple(_args, "O&",
-                             CmpInstObj_Convert, &target))
-               return NULL;
-       _rv = ComponentSetTarget(_self->ob_itself,
-                                target);
-       _res = Py_BuildValue("l",
-                            _rv);
-       return _res;
-}
-
 static PyObject *CmpInstObj_SetComponentInstanceError(_self, _args)
        ComponentInstanceObject *_self;
        PyObject *_args;
@@ -270,17 +222,59 @@ static PyObject *CmpInstObj_SetComponentInstanceA5(_self, _args)
        return _res;
 }
 
+static PyObject *CmpInstObj_ComponentFunctionImplemented(_self, _args)
+       ComponentInstanceObject *_self;
+       PyObject *_args;
+{
+       PyObject *_res = NULL;
+       long _rv;
+       short ftnNumber;
+       if (!PyArg_ParseTuple(_args, "h",
+                             &ftnNumber))
+               return NULL;
+       _rv = ComponentFunctionImplemented(_self->ob_itself,
+                                          ftnNumber);
+       _res = Py_BuildValue("l",
+                            _rv);
+       return _res;
+}
+
+static PyObject *CmpInstObj_GetComponentVersion(_self, _args)
+       ComponentInstanceObject *_self;
+       PyObject *_args;
+{
+       PyObject *_res = NULL;
+       long _rv;
+       if (!PyArg_ParseTuple(_args, ""))
+               return NULL;
+       _rv = GetComponentVersion(_self->ob_itself);
+       _res = Py_BuildValue("l",
+                            _rv);
+       return _res;
+}
+
+static PyObject *CmpInstObj_ComponentSetTarget(_self, _args)
+       ComponentInstanceObject *_self;
+       PyObject *_args;
+{
+       PyObject *_res = NULL;
+       long _rv;
+       ComponentInstance target;
+       if (!PyArg_ParseTuple(_args, "O&",
+                             CmpInstObj_Convert, &target))
+               return NULL;
+       _rv = ComponentSetTarget(_self->ob_itself,
+                                target);
+       _res = Py_BuildValue("l",
+                            _rv);
+       return _res;
+}
+
 static PyMethodDef CmpInstObj_methods[] = {
        {"CloseComponent", (PyCFunction)CmpInstObj_CloseComponent, 1,
         "() -> None"},
        {"GetComponentInstanceError", (PyCFunction)CmpInstObj_GetComponentInstanceError, 1,
         "() -> None"},
-       {"ComponentFunctionImplemented", (PyCFunction)CmpInstObj_ComponentFunctionImplemented, 1,
-        "(short ftnNumber) -> (long _rv)"},
-       {"GetComponentVersion", (PyCFunction)CmpInstObj_GetComponentVersion, 1,
-        "() -> (long _rv)"},
-       {"ComponentSetTarget", (PyCFunction)CmpInstObj_ComponentSetTarget, 1,
-        "(ComponentInstance target) -> (long _rv)"},
        {"SetComponentInstanceError", (PyCFunction)CmpInstObj_SetComponentInstanceError, 1,
         "(OSErr theError) -> None"},
        {"GetComponentInstanceStorage", (PyCFunction)CmpInstObj_GetComponentInstanceStorage, 1,
@@ -291,6 +285,12 @@ static PyMethodDef CmpInstObj_methods[] = {
         "() -> (long _rv)"},
        {"SetComponentInstanceA5", (PyCFunction)CmpInstObj_SetComponentInstanceA5, 1,
         "(long theA5) -> None"},
+       {"ComponentFunctionImplemented", (PyCFunction)CmpInstObj_ComponentFunctionImplemented, 1,
+        "(short ftnNumber) -> (long _rv)"},
+       {"GetComponentVersion", (PyCFunction)CmpInstObj_GetComponentVersion, 1,
+        "() -> (long _rv)"},
+       {"ComponentSetTarget", (PyCFunction)CmpInstObj_ComponentSetTarget, 1,
+        "(ComponentInstance target) -> (long _rv)"},
        {NULL, NULL, 0}
 };
 
@@ -609,13 +609,13 @@ static PyObject *Cm_RegisterComponentResource(_self, _args)
 {
        PyObject *_res = NULL;
        Component _rv;
-       ComponentResourceHandle tr;
+       ComponentResourceHandle cr;
        short global;
        if (!PyArg_ParseTuple(_args, "O&h",
-                             ResObj_Convert, &tr,
+                             ResObj_Convert, &cr,
                              &global))
                return NULL;
-       _rv = RegisterComponentResource(tr,
+       _rv = RegisterComponentResource(cr,
                                        global);
        _res = Py_BuildValue("O&",
                             CmpObj_New, _rv);
@@ -728,7 +728,7 @@ static PyObject *Cm_RegisterComponentResourceFile(_self, _args)
 
 static PyMethodDef Cm_methods[] = {
        {"RegisterComponentResource", (PyCFunction)Cm_RegisterComponentResource, 1,
-        "(ComponentResourceHandle tr, short global) -> (Component _rv)"},
+        "(ComponentResourceHandle cr, short global) -> (Component _rv)"},
        {"FindNextComponent", (PyCFunction)Cm_FindNextComponent, 1,
         "(Component aComponent, ComponentDescription looking) -> (Component _rv)"},
        {"CountComponents", (PyCFunction)Cm_CountComponents, 1,
index 95abeedcaffce9b79f3c20c42a34f5d1e61f72ff..ea2dc2fc2ff9289d3c88e96ab0b19a2613cd155d 100644 (file)
@@ -40,7 +40,17 @@ class MyScanner(Scanner):
 
        def makeblacklistnames(self):
                return [
-                       # "GetComponentInfo"  # XXXX I dont know how the Handle args are expected...
+                       "OpenADefaultComponent",
+                       "GetComponentTypeModSeed",
+                       "OpenAComponentResFile",
+                       "CallComponentUnregister",
+                       "CallComponentTarget",
+                       "CallComponentRegister",
+                       "CallComponentVersion",
+                       "CallComponentCanDo",
+                       "CallComponentClose",
+                       "CallComponentOpen",
+                       "OpenAComponent",
                        ]
 
        def makeblacklisttypes(self):
@@ -54,6 +64,7 @@ class MyScanner(Scanner):
                        "ComponentParameters",
                        
                        "ComponentRoutineUPP",
+                       "ComponentMPWorkFunctionUPP",
                        ]
 
        def makerepairinstructions(self):
index 024787d4457d57b6795aa6dd6da7dcc03941e24f..2c580199f444ce907a10b98e42e933cf6bc5e680 100644 (file)
@@ -269,7 +269,7 @@ ctbcm_write(self, args)
        char *buf;
        ConnectionCompletionUPP cb_upp = NewConnectionCompletionProc(ctbcm_ctbcallback);
        
-       if (!PyArg_Parse(args, "(s#ili)", &buf, &ilen, &chan, &timeout, &flags))
+       if (!PyArg_Parse(args, "(m#ili)", &buf, &ilen, &chan, &timeout, &flags))
                return NULL;
        len = ilen;
        if ((err=CMWrite(self->hdl, (Ptr)buf, &len, (CMChannel)chan,
index 9078e9f5f97c5c73f89d1080c08d6532db9a78c2..b5bc57307521632d22f63da65567ed03190709b7 100644 (file)
@@ -43,7 +43,6 @@ extern int BMObj_Convert(PyObject *, BitMapPtr *);
 extern PyObject *WinObj_WhichWindow(WindowPtr);
 
 #include <Events.h>
-#include <Desk.h>
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
 
index 0471a7e00012edac7e0ccb6e1bd5f227a233df76..d1cc1d1b743420083d31ae8bbbaed6a8316a7127 100644 (file)
@@ -36,7 +36,6 @@ EventKind = Type("EventKind", "h")
 
 includestuff = includestuff + """
 #include <%s>""" % MACHEADERFILE + """
-#include <Desk.h>
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
 """
index 0b814e9f73cfcbecb9e4353c90a07e774753f1ca..87225467427e98802c03034035625e949f031186 100644 (file)
@@ -27,7 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include "Python.h"
 
 #include <Types.h>
-#include <GestaltEqu.h>
+#include <Gestalt.h>
 
 static PyObject *
 gestalt_gestalt(self, args)
index 5bd2ce590e28feb8e5205f70a6ef13d7ec76e5a0..1a43d1677406111b779a600429d026d3937dc230 100644 (file)
@@ -824,7 +824,7 @@ mfs_RawFSSpec(self, args)
        FSSpec *fssp;
        int size;
 
-       if (!PyArg_ParseTuple(args, "s#", &fssp, &size))
+       if (!PyArg_ParseTuple(args, "m#", &fssp, &size))
                return NULL;
        if ( size != sizeof(FSSpec) ) {
                PyErr_SetString(PyExc_TypeError, "Incorrect size for FSSpec record");
@@ -842,7 +842,7 @@ mfs_RawAlias(self, args)
        Handle h;
        int size;
 
-       if (!PyArg_ParseTuple(args, "s#", &dataptr, &size))
+       if (!PyArg_ParseTuple(args, "m#", &dataptr, &size))
                return NULL;
        h = NewHandle(size);
        if ( h == NULL ) {
index 49c0f8b34ef5e12530fa318ed747b3ce67334cb9..8de3c91e1e43b15dc6e8ed53fda549ee433fef91 100644 (file)
@@ -567,7 +567,7 @@ mac_write(self, args)
 {
        int fd, size;
        char *buffer;
-       if (!PyArg_Parse(args, "(is#)", &fd, &buffer, &size))
+       if (!PyArg_Parse(args, "(im#)", &fd, &buffer, &size))
                return NULL;
        Py_BEGIN_ALLOW_THREADS
        size = write(fd, buffer, size);
index eed4352ae24edf6b3e3550380a5e614242a8b052..89f986b848da192a9e9d107cad2dfec3330f49ab 100644 (file)
@@ -117,7 +117,7 @@ rf_write(self, args)
                PyErr_SetString(PyExc_ValueError, "Operation on closed file");
                return NULL;
        }
-       if (!PyArg_ParseTuple(args, "s#", &buffer, &size))
+       if (!PyArg_ParseTuple(args, "m#", &buffer, &size))
                return NULL;
        err = FSWrite(self->fRefNum, &size, buffer);
        if (err) {
index 7d499d4274dd4868abcbd7a173a46c77153cfac4..6bcc730a7ecd28e2cea7098a378e91feed897f5e 100644 (file)
@@ -25,7 +25,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 #include "Python.h"
 
-#include <GestaltEqu.h>
+#include <Gestalt.h>
 #include "Speech.h"
 
 #ifdef __MWERKS__
@@ -37,7 +37,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #endif /* __MWERKS__ */
 
 #ifdef __powerc
-#include <FragLoad.h>
+#include <CodeFragments.h>
 int lib_available;
 #endif /* __powerc */
 
@@ -150,7 +150,7 @@ sc_SpeakText(self, args)
        char *str;
        int len;
        
-       if (!PyArg_Parse(args, "s#", &str, &len))
+       if (!PyArg_Parse(args, "m#", &str, &len))
                return NULL;
        if ( self->curtext ) {
                StopSpeech(self->chan);
index 07e1b8803ea433bdba985c92338c115a13af584c..ac52e39eb25941d1ca3ff113425cd0db9ab0e38f 100644 (file)
@@ -43,7 +43,6 @@ extern int BMObj_Convert(PyObject *, BitMapPtr *);
 extern PyObject *WinObj_WhichWindow(WindowPtr);
 
 #include <Devices.h> /* Defines OpenDeskAcc in universal headers */
-#include <Desk.h> /* Defines OpenDeskAcc in old headers */
 #include <Menus.h>
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
index 2c7c7c0ac6af4510c0e08c1d59910fe833f4338c..80b08b1ee0d0c7af2c695e4832aefef1a5752ac3 100644 (file)
@@ -32,7 +32,6 @@ unsigned_char = Type('unsigned char', 'b')
 
 includestuff = includestuff + """
 #include <Devices.h> /* Defines OpenDeskAcc in universal headers */
-#include <Desk.h> /* Defines OpenDeskAcc in old headers */
 #include <%s>""" % MACHEADERFILE + """
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
index af6a92e54809dc133f9a8596b5fb5600adab5243..843e301d7f01c8391eb8a21fb963154341df1043 100644 (file)
@@ -43,7 +43,6 @@ extern int BMObj_Convert(PyObject *, BitMapPtr *);
 extern PyObject *WinObj_WhichWindow(WindowPtr);
 
 #include <QuickDraw.h>
-#include <Desk.h>
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
 
index 61e7dd852db99250b8290c0eed59bd75ea7546cc..13689ff40a265bab4f43a922506af1b188a0016b 100644 (file)
@@ -55,7 +55,6 @@ PenState_ptr = StructInputBufferType('PenState')
 
 includestuff = includestuff + """
 #include <%s>""" % MACHEADERFILE + """
-#include <Desk.h>
 
 #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
 
index ffba461dd9aca56e34d63fd3d2556c2a8ffa6516..a4eedce62ff3e9b7df373dacbcf2cf4e12d16ffe 100644 (file)
@@ -5730,125 +5730,6 @@ static PyObject *Qt_RemoveMovieResource(_self, _args)
        return _res;
 }
 
-static PyObject *Qt_GetVideoMediaGraphicsMode(_self, _args)
-       PyObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       HandlerError _rv;
-       MediaHandler mh;
-       long graphicsMode;
-       RGBColor opColor;
-       if (!PyArg_ParseTuple(_args, "O&",
-                             CmpInstObj_Convert, &mh))
-               return NULL;
-       _rv = GetVideoMediaGraphicsMode(mh,
-                                       &graphicsMode,
-                                       &opColor);
-       _res = Py_BuildValue("llO&",
-                            _rv,
-                            graphicsMode,
-                            QdRGB_New, &opColor);
-       return _res;
-}
-
-static PyObject *Qt_SetVideoMediaGraphicsMode(_self, _args)
-       PyObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       HandlerError _rv;
-       MediaHandler mh;
-       long graphicsMode;
-       RGBColor opColor;
-       if (!PyArg_ParseTuple(_args, "O&lO&",
-                             CmpInstObj_Convert, &mh,
-                             &graphicsMode,
-                             QdRGB_Convert, &opColor))
-               return NULL;
-       _rv = SetVideoMediaGraphicsMode(mh,
-                                       graphicsMode,
-                                       &opColor);
-       _res = Py_BuildValue("l",
-                            _rv);
-       return _res;
-}
-
-static PyObject *Qt_GetSoundMediaBalance(_self, _args)
-       PyObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       HandlerError _rv;
-       MediaHandler mh;
-       short balance;
-       if (!PyArg_ParseTuple(_args, "O&",
-                             CmpInstObj_Convert, &mh))
-               return NULL;
-       _rv = GetSoundMediaBalance(mh,
-                                  &balance);
-       _res = Py_BuildValue("lh",
-                            _rv,
-                            balance);
-       return _res;
-}
-
-static PyObject *Qt_SetSoundMediaBalance(_self, _args)
-       PyObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       HandlerError _rv;
-       MediaHandler mh;
-       short balance;
-       if (!PyArg_ParseTuple(_args, "O&h",
-                             CmpInstObj_Convert, &mh,
-                             &balance))
-               return NULL;
-       _rv = SetSoundMediaBalance(mh,
-                                  balance);
-       _res = Py_BuildValue("l",
-                            _rv);
-       return _res;
-}
-
-static PyObject *Qt_FindNextText(_self, _args)
-       PyObject *_self;
-       PyObject *_args;
-{
-       PyObject *_res = NULL;
-       ComponentResult _rv;
-       MediaHandler mh;
-       Ptr text;
-       long size;
-       short findFlags;
-       TimeValue startTime;
-       TimeValue foundTime;
-       TimeValue foundDuration;
-       long offset;
-       if (!PyArg_ParseTuple(_args, "O&slhl",
-                             CmpInstObj_Convert, &mh,
-                             &text,
-                             &size,
-                             &findFlags,
-                             &startTime))
-               return NULL;
-       _rv = FindNextText(mh,
-                          text,
-                          size,
-                          findFlags,
-                          startTime,
-                          &foundTime,
-                          &foundDuration,
-                          &offset);
-       _res = Py_BuildValue("llll",
-                            _rv,
-                            foundTime,
-                            foundDuration,
-                            offset);
-       return _res;
-}
-
 static PyObject *Qt_NewMovieFromScrap(_self, _args)
        PyObject *_self;
        PyObject *_args;
@@ -5963,16 +5844,6 @@ static PyMethodDef Qt_methods[] = {
         "(short fRefNum, long fileOffset, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasChanged)"},
        {"RemoveMovieResource", (PyCFunction)Qt_RemoveMovieResource, 1,
         "(short resRefNum, short resId) -> None"},
-       {"GetVideoMediaGraphicsMode", (PyCFunction)Qt_GetVideoMediaGraphicsMode, 1,
-        "(MediaHandler mh) -> (HandlerError _rv, long graphicsMode, RGBColor opColor)"},
-       {"SetVideoMediaGraphicsMode", (PyCFunction)Qt_SetVideoMediaGraphicsMode, 1,
-        "(MediaHandler mh, long graphicsMode, RGBColor opColor) -> (HandlerError _rv)"},
-       {"GetSoundMediaBalance", (PyCFunction)Qt_GetSoundMediaBalance, 1,
-        "(MediaHandler mh) -> (HandlerError _rv, short balance)"},
-       {"SetSoundMediaBalance", (PyCFunction)Qt_SetSoundMediaBalance, 1,
-        "(MediaHandler mh, short balance) -> (HandlerError _rv)"},
-       {"FindNextText", (PyCFunction)Qt_FindNextText, 1,
-        "(MediaHandler mh, Ptr text, long size, short findFlags, TimeValue startTime) -> (ComponentResult _rv, TimeValue foundTime, TimeValue foundDuration, long offset)"},
        {"NewMovieFromScrap", (PyCFunction)Qt_NewMovieFromScrap, 1,
         "(long newMovieFlags) -> (Movie _rv)"},
        {"NewTimeBase", (PyCFunction)Qt_NewTimeBase, 1,
index 7fba93654a44e2cdda8fe1a5e1f067c1b902da7c..6b26bcb644da924773508dc8a9431a0ab001449c 100644 (file)
@@ -56,6 +56,34 @@ class MyScanner(Scanner):
                        "AddTESample",
                        "AddHiliteSample",
                        "HiliteTextSample",
+                       # Missing in CW11 quicktime library
+                       "SpriteMediaGetDisplayedSampleNumber",
+                       "SpriteMediaGetIndImageDescription",
+                       "SpriteMediaCountImages",
+                       "SpriteMediaCountSprites",
+                       "SpriteMediaHitTestSprites",
+                       "SpriteMediaGetProperty",
+                       "SpriteMediaSetProperty",
+                       "TextMediaSetTextSampleData",
+                       "TextMediaHiliteTextSample",
+                       "TextMediaFindNextText",
+                       "TextMediaAddHiliteSample",
+                       "TextMediaAddTESample",
+                       "TextMediaAddTextSample",
+                       "VideoMediaGetStatistics",
+                       "VideoMediaResetStatistics",
+                       "EndFullScreen",
+                       "NewMovieFromDataRef",
+                       "MCPtInController",
+                       "MCRemoveAMovie",
+                       "MCRemoveAllMovies",
+                       "MCInvalidate",
+                       "InvalidateMovieRegion",
+                       "GetMovieCompositeBufferFlags",
+                       "SetMovieCompositeBufferFlags",
+                       "SetTrackSoundLocalizationSettings",
+                       "GetTrackSoundLocalizationSettings",
+                       "GetMovieNaturalBoundsRect",
                        ]
 
        def makeblacklisttypes(self):
@@ -91,6 +119,9 @@ class MyScanner(Scanner):
                        "MCActionFilterWithRefConUPP",
                        "GetMovieUPP",
                        "ModalFilterUPP",
+                       "QTAtomContainer",
+                       "SpriteWorld",
+                       "Sprite",
                        ]
 
        def makerepairinstructions(self):
@@ -105,8 +136,9 @@ class MyScanner(Scanner):
                        ([('short', 'resId', 'OutMode'), ('StringPtr', 'resName', 'InMode')],
                         [('dummyshortptr', 'resId', 'InMode'), ('dummyStringPtr', 'resName', 'InMode')]),
                         
-                       # MCDoAction
-                       ([('void', 'params', 'OutMode')], [('mcactionparams', 'params', 'InMode')]),
+                       # MCDoAction and more
+                       ([('void', '*', 'OutMode')], [('mcactionparams', '*', 'InMode')]),
+                       
                        ]
                        
 if __name__ == "__main__":
index 17ba808d22c85f0983885f5d6448dccae6472e7b..5e9191368bc22a8eb7fde39f0d316c100cf5b3da 100644 (file)
@@ -69,6 +69,7 @@ PicHandle = OpaqueByValueType("PicHandle", "ResObj")
 CTabHandle = OpaqueByValueType("CTabHandle", "ResObj")
 PixMapHandle = OpaqueByValueType("PixMapHandle", "ResObj")
 SampleDescriptionHandle = OpaqueByValueType("SampleDescriptionHandle", "ResObj")
+ImageDescriptionHandle = OpaqueByValueType("ImageDescriptionHandle", "ResObj")
 TEHandle = OpaqueByValueType("TEHandle", "ResObj")
 # Silly Apple, passing an OStype by reference...
 OSType_ptr = OpaqueType("OSType", "PyMac_BuildOSType", "PyMac_GetOSType")