diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-21 22:07:06 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-06-21 22:07:06 (GMT) |
commit | 8d929aee499ddc289c1af07a090fb6b885d4ae0a (patch) | |
tree | 291be3c1a3efc28930163bed90426b97b0915b8d /Mac/Modules/icn | |
parent | 349a3d3a9a4a25a217e2060bcecc10177fa549da (diff) | |
download | cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.zip cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.gz cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.bz2 |
All relevant toolbox modules have now been carbonized.
Diffstat (limited to 'Mac/Modules/icn')
-rw-r--r-- | Mac/Modules/icn/Icnmodule.c | 6 | ||||
-rw-r--r-- | Mac/Modules/icn/icnscan.py | 6 |
2 files changed, 12 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, diff --git a/Mac/Modules/icn/icnscan.py b/Mac/Modules/icn/icnscan.py index ee5a269..c2af061 100644 --- a/Mac/Modules/icn/icnscan.py +++ b/Mac/Modules/icn/icnscan.py @@ -45,6 +45,12 @@ class MyScanner(Scanner): "svAllAvailableData", ] + def makegreylist(self): + return [ + ('#ifndef TARGET_API_MAC_CARBON', [ + 'IconServicesTerminate', + ])] + def makeblacklisttypes(self): return [ "IconActionUPP", |