summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/icgluemodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-29 13:27:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-29 13:27:46 (GMT)
commit5a8115c94b02bab70437f9eac53464c56e32bfd2 (patch)
tree1161baa334b014a575664645149b3dc25fe9b03c /Mac/Modules/icgluemodule.c
parent13735e3e3e69aa1adc5d1f9001216d8c151a8d4d (diff)
downloadcpython-5a8115c94b02bab70437f9eac53464c56e32bfd2.zip
cpython-5a8115c94b02bab70437f9eac53464c56e32bfd2.tar.gz
cpython-5a8115c94b02bab70437f9eac53464c56e32bfd2.tar.bz2
Ported the icglue module to carbon.
Diffstat (limited to 'Mac/Modules/icgluemodule.c')
-rw-r--r--Mac/Modules/icgluemodule.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Modules/icgluemodule.c b/Mac/Modules/icgluemodule.c
index 2189996..b617439 100644
--- a/Mac/Modules/icgluemodule.c
+++ b/Mac/Modules/icgluemodule.c
@@ -69,6 +69,7 @@ staticforward PyTypeObject Icitype;
/* ---------------------------------------------------------------- */
+#if !TARGET_API_MAC_CARBON
static char ici_ICFindConfigFile__doc__[] =
"()->None; Find config file in standard places"
;
@@ -128,6 +129,7 @@ ici_ICChooseConfig(self, args)
Py_INCREF(Py_None);
return Py_None;
}
+#endif /* !TARGET_API_MAC_CARBON */
static char ici_ICChooseNewConfig__doc__[] =
@@ -458,10 +460,12 @@ ici_ICMapTypeCreator(self, args)
static struct PyMethodDef ici_methods[] = {
- {"ICFindConfigFile", (PyCFunction)ici_ICFindConfigFile, METH_VARARGS, ici_ICFindConfigFile__doc__},
+#if !TARGET_API_MAC_CARBON
+ {"ICFindConfigFile", (PyCFunction)ici_ICFindConfigFile, METH_VARARGS, ici_ICFindConfigFile__doc__},
{"ICFindUserConfigFile", (PyCFunction)ici_ICFindUserConfigFile, METH_VARARGS, ici_ICFindUserConfigFile__doc__},
{"ICChooseConfig", (PyCFunction)ici_ICChooseConfig, METH_VARARGS, ici_ICChooseConfig__doc__},
{"ICChooseNewConfig", (PyCFunction)ici_ICChooseNewConfig, METH_VARARGS, ici_ICChooseNewConfig__doc__},
+#endif /* !TARGET_API_MAC_CARBON */
{"ICGetSeed", (PyCFunction)ici_ICGetSeed, METH_VARARGS, ici_ICGetSeed__doc__},
{"ICBegin", (PyCFunction)ici_ICBegin, METH_VARARGS, ici_ICBegin__doc__},
{"ICFindPrefHandle", (PyCFunction)ici_ICFindPrefHandle, METH_VARARGS, ici_ICFindPrefHandle__doc__},