summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macfsmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:16:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:16:45 (GMT)
commit9d8b96c8507644811ba92ead8f131060aafac19f (patch)
tree3e6c736185b2b38ad813f41c393d528802f3f984 /Mac/Modules/macfsmodule.c
parent41e25cc317e0db3a84f91c04a194e5f0065772a2 (diff)
downloadcpython-9d8b96c8507644811ba92ead8f131060aafac19f.zip
cpython-9d8b96c8507644811ba92ead8f131060aafac19f.tar.gz
cpython-9d8b96c8507644811ba92ead8f131060aafac19f.tar.bz2
pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r--Mac/Modules/macfsmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c
index 048b243..fa832f3 100644
--- a/Mac/Modules/macfsmodule.c
+++ b/Mac/Modules/macfsmodule.c
@@ -854,6 +854,7 @@ mfs_RawAlias(self, args)
return (PyObject *)newmfsaobject((AliasHandle)h);
}
+#ifndef TARGET_API_MAC_CARBON
static PyObject *
mfs_GetDirectory(self, args)
PyObject *self; /* Not used */
@@ -869,6 +870,7 @@ mfs_GetDirectory(self, args)
ok = PyMac_GetDirectory(&fsdir, prompt);
return Py_BuildValue("(Oi)", newmfssobject(&fsdir), ok);
}
+#endif
static PyObject *
mfs_FindFolder(self, args)