summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/icn/Icnmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-06-21 22:07:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-06-21 22:07:06 (GMT)
commit8d929aee499ddc289c1af07a090fb6b885d4ae0a (patch)
tree291be3c1a3efc28930163bed90426b97b0915b8d /Mac/Modules/icn/Icnmodule.c
parent349a3d3a9a4a25a217e2060bcecc10177fa549da (diff)
downloadcpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.zip
cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.gz
cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.bz2
All relevant toolbox modules have now been carbonized.
Diffstat (limited to 'Mac/Modules/icn/Icnmodule.c')
-rw-r--r--Mac/Modules/icn/Icnmodule.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Modules/icn/Icnmodule.c b/Mac/Modules/icn/Icnmodule.c
index 9420d37..dfa54d6 100644
--- a/Mac/Modules/icn/Icnmodule.c
+++ b/Mac/Modules/icn/Icnmodule.c
@@ -604,6 +604,8 @@ static PyObject *Icn_PlotCIconHandle(_self, _args)
return _res;
}
+#ifndef TARGET_API_MAC_CARBON
+
static PyObject *Icn_IconServicesTerminate(_self, _args)
PyObject *_self;
PyObject *_args;
@@ -616,6 +618,7 @@ static PyObject *Icn_IconServicesTerminate(_self, _args)
_res = Py_None;
return _res;
}
+#endif
static PyObject *Icn_IconRefToIconFamily(_self, _args)
PyObject *_self;
@@ -1336,8 +1339,11 @@ static PyMethodDef Icn_methods[] = {
"(Rect theRect, IconAlignmentType align, IconTransformType transform, Handle theSICN) -> None"},
{"PlotCIconHandle", (PyCFunction)Icn_PlotCIconHandle, 1,
"(Rect theRect, IconAlignmentType align, IconTransformType transform, CIconHandle theCIcon) -> None"},
+
+#ifndef TARGET_API_MAC_CARBON
{"IconServicesTerminate", (PyCFunction)Icn_IconServicesTerminate, 1,
"() -> None"},
+#endif
{"IconRefToIconFamily", (PyCFunction)Icn_IconRefToIconFamily, 1,
"(IconRef theIconRef, IconSelectorValue whichIcons) -> (IconFamilyHandle iconFamily)"},
{"IconFamilyToIconSuite", (PyCFunction)Icn_IconFamilyToIconSuite, 1,