summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/fm/fmsupport.py
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/fm/fmsupport.py
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/fm/fmsupport.py')
-rw-r--r--Mac/Modules/fm/fmsupport.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Modules/fm/fmsupport.py b/Mac/Modules/fm/fmsupport.py
index f0b1e29..1afc8b8 100644
--- a/Mac/Modules/fm/fmsupport.py
+++ b/Mac/Modules/fm/fmsupport.py
@@ -24,7 +24,8 @@ includestuff = includestuff + """
/*
** Parse/generate ComponentDescriptor records
*/
-PyObject *FMRec_New(itself)
+static PyObject *
+FMRec_New(itself)
FMetricRec *itself;
{
@@ -38,6 +39,7 @@ PyObject *FMRec_New(itself)
#if 0
/* Not needed... */
+static int
FMRec_Convert(v, p_itself)
PyObject *v;
FMetricRec *p_itself;