summaryrefslogtreecommitdiffstats
path: root/Python/mactoolboxglue.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:53:34 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-23 13:53:34 (GMT)
commit3cbf6d9d6ecd21a1dc4316c9f5620c422a45ae41 (patch)
tree7d5bbb1e977dde07da889cf74a9606c5383d07ed /Python/mactoolboxglue.c
parent77105a960b078d79a4e7827b320e66217a78a0f8 (diff)
downloadcpython-3cbf6d9d6ecd21a1dc4316c9f5620c422a45ae41.zip
cpython-3cbf6d9d6ecd21a1dc4316c9f5620c422a45ae41.tar.gz
cpython-3cbf6d9d6ecd21a1dc4316c9f5620c422a45ae41.tar.bz2
Mac toolbox modules have gotten an _ prepended to their name.
Diffstat (limited to 'Python/mactoolboxglue.c')
-rw-r--r--Python/mactoolboxglue.c116
1 files changed, 58 insertions, 58 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c
index 5863259..b41d47f 100644
--- a/Python/mactoolboxglue.c
+++ b/Python/mactoolboxglue.c
@@ -348,63 +348,63 @@ int routinename(PyObject *pyobj, object *cobj) { \
}
GLUE_CONVERT(FSSpec, PyMac_GetFSSpec, "macfs")
-GLUE_NEW(AppleEvent *, AEDesc_New, "AE") /* XXXX Why by address? */
-GLUE_CONVERT(AppleEvent, AEDesc_Convert, "AE")
-
-GLUE_NEW(Component, CmpObj_New, "Cm")
-GLUE_CONVERT(Component, CmpObj_Convert, "Cm")
-GLUE_NEW(ComponentInstance, CmpInstObj_New, "Cm")
-GLUE_CONVERT(ComponentInstance, CmpInstObj_Convert, "Cm")
-
-GLUE_NEW(ControlHandle, CtlObj_New, "Ctl")
-GLUE_CONVERT(ControlHandle, CtlObj_Convert, "Ctl")
-
-GLUE_NEW(DialogPtr, DlgObj_New, "Dlg")
-GLUE_CONVERT(DialogPtr, DlgObj_Convert, "Dlg")
-GLUE_NEW(DialogPtr, DlgObj_WhichDialog, "Dlg")
-
-GLUE_NEW(DragReference, DragObj_New, "Drag")
-GLUE_CONVERT(DragReference, DragObj_Convert, "Drag")
-
-GLUE_NEW(ListHandle, ListObj_New, "List")
-GLUE_CONVERT(ListHandle, ListObj_Convert, "List")
-
-GLUE_NEW(MenuHandle, MenuObj_New, "Menu")
-GLUE_CONVERT(MenuHandle, MenuObj_Convert, "Menu")
-
-GLUE_NEW(GrafPtr, GrafObj_New, "Qd")
-GLUE_CONVERT(GrafPtr, GrafObj_Convert, "Qd")
-GLUE_NEW(BitMapPtr, BMObj_New, "Qd")
-GLUE_CONVERT(BitMapPtr, BMObj_Convert, "Qd")
-GLUE_NEW(RGBColor *, QdRGB_New, "Qd") /* XXXX Why? */
-GLUE_CONVERT(RGBColor, QdRGB_Convert, "Qd")
-
-GLUE_NEW(GWorldPtr, GWorldObj_New, "Qdoffs")
-GLUE_CONVERT(GWorldPtr, GWorldObj_Convert, "Qdoffs")
-
-GLUE_NEW(Track, TrackObj_New, "Qt")
-GLUE_CONVERT(Track, TrackObj_Convert, "Qt")
-GLUE_NEW(Movie, MovieObj_New, "Qt")
-GLUE_CONVERT(Movie, MovieObj_Convert, "Qt")
-GLUE_NEW(MovieController, MovieCtlObj_New, "Qt")
-GLUE_CONVERT(MovieController, MovieCtlObj_Convert, "Qt")
-GLUE_NEW(TimeBase, TimeBaseObj_New, "Qt")
-GLUE_CONVERT(TimeBase, TimeBaseObj_Convert, "Qt")
-GLUE_NEW(UserData, UserDataObj_New, "Qt")
-GLUE_CONVERT(UserData, UserDataObj_Convert, "Qt")
-GLUE_NEW(Media, MediaObj_New, "Qt")
-GLUE_CONVERT(Media, MediaObj_Convert, "Qt")
-
-GLUE_NEW(Handle, ResObj_New, "Res")
-GLUE_CONVERT(Handle, ResObj_Convert, "Res")
-GLUE_NEW(Handle, OptResObj_New, "Res")
-GLUE_CONVERT(Handle, OptResObj_Convert, "Res")
-
-GLUE_NEW(TEHandle, TEObj_New, "TE")
-GLUE_CONVERT(TEHandle, TEObj_Convert, "TE")
-
-GLUE_NEW(WindowPtr, WinObj_New, "Win")
-GLUE_CONVERT(WindowPtr, WinObj_Convert, "Win")
-GLUE_NEW(WindowPtr, WinObj_WhichWindow, "Win")
+GLUE_NEW(AppleEvent *, AEDesc_New, "_AE") /* XXXX Why by address? */
+GLUE_CONVERT(AppleEvent, AEDesc_Convert, "_AE")
+
+GLUE_NEW(Component, CmpObj_New, "_Cm")
+GLUE_CONVERT(Component, CmpObj_Convert, "_Cm")
+GLUE_NEW(ComponentInstance, CmpInstObj_New, "_Cm")
+GLUE_CONVERT(ComponentInstance, CmpInstObj_Convert, "_Cm")
+
+GLUE_NEW(ControlHandle, CtlObj_New, "_Ctl")
+GLUE_CONVERT(ControlHandle, CtlObj_Convert, "_Ctl")
+
+GLUE_NEW(DialogPtr, DlgObj_New, "_Dlg")
+GLUE_CONVERT(DialogPtr, DlgObj_Convert, "_Dlg")
+GLUE_NEW(DialogPtr, DlgObj_WhichDialog, "_Dlg")
+
+GLUE_NEW(DragReference, DragObj_New, "_Drag")
+GLUE_CONVERT(DragReference, DragObj_Convert, "_Drag")
+
+GLUE_NEW(ListHandle, ListObj_New, "_List")
+GLUE_CONVERT(ListHandle, ListObj_Convert, "_List")
+
+GLUE_NEW(MenuHandle, MenuObj_New, "_Menu")
+GLUE_CONVERT(MenuHandle, MenuObj_Convert, "_Menu")
+
+GLUE_NEW(GrafPtr, GrafObj_New, "_Qd")
+GLUE_CONVERT(GrafPtr, GrafObj_Convert, "_Qd")
+GLUE_NEW(BitMapPtr, BMObj_New, "_Qd")
+GLUE_CONVERT(BitMapPtr, BMObj_Convert, "_Qd")
+GLUE_NEW(RGBColor *, QdRGB_New, "_Qd") /* XXXX Why? */
+GLUE_CONVERT(RGBColor, QdRGB_Convert, "_Qd")
+
+GLUE_NEW(GWorldPtr, GWorldObj_New, "_Qdoffs")
+GLUE_CONVERT(GWorldPtr, GWorldObj_Convert, "_Qdoffs")
+
+GLUE_NEW(Track, TrackObj_New, "_Qt")
+GLUE_CONVERT(Track, TrackObj_Convert, "_Qt")
+GLUE_NEW(Movie, MovieObj_New, "_Qt")
+GLUE_CONVERT(Movie, MovieObj_Convert, "_Qt")
+GLUE_NEW(MovieController, MovieCtlObj_New, "_Qt")
+GLUE_CONVERT(MovieController, MovieCtlObj_Convert, "_Qt")
+GLUE_NEW(TimeBase, TimeBaseObj_New, "_Qt")
+GLUE_CONVERT(TimeBase, TimeBaseObj_Convert, "_Qt")
+GLUE_NEW(UserData, UserDataObj_New, "_Qt")
+GLUE_CONVERT(UserData, UserDataObj_Convert, "_Qt")
+GLUE_NEW(Media, MediaObj_New, "_Qt")
+GLUE_CONVERT(Media, MediaObj_Convert, "_Qt")
+
+GLUE_NEW(Handle, ResObj_New, "_Res")
+GLUE_CONVERT(Handle, ResObj_Convert, "_Res")
+GLUE_NEW(Handle, OptResObj_New, "_Res")
+GLUE_CONVERT(Handle, OptResObj_Convert, "_Res")
+
+GLUE_NEW(TEHandle, TEObj_New, "_TE")
+GLUE_CONVERT(TEHandle, TEObj_Convert, "_TE")
+
+GLUE_NEW(WindowPtr, WinObj_New, "_Win")
+GLUE_CONVERT(WindowPtr, WinObj_Convert, "_Win")
+GLUE_NEW(WindowPtr, WinObj_WhichWindow, "_Win")
#endif /* USE_TOOLBOX_OBJECT_GLUE */ \ No newline at end of file