summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macfsmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
commiteeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a (patch)
tree9b22bfb60e2887d640b807d75fdc588349d6222d /Mac/Modules/macfsmodule.c
parentd1d242ec846b99b3be95372093d10f5e3d37f9df (diff)
downloadcpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.zip
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.gz
cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.bz2
- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r--Mac/Modules/macfsmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c
index 1a43d16..5bd2ce5 100644
--- a/Mac/Modules/macfsmodule.c
+++ b/Mac/Modules/macfsmodule.c
@@ -824,7 +824,7 @@ mfs_RawFSSpec(self, args)
FSSpec *fssp;
int size;
- if (!PyArg_ParseTuple(args, "m#", &fssp, &size))
+ if (!PyArg_ParseTuple(args, "s#", &fssp, &size))
return NULL;
if ( size != sizeof(FSSpec) ) {
PyErr_SetString(PyExc_TypeError, "Incorrect size for FSSpec record");
@@ -842,7 +842,7 @@ mfs_RawAlias(self, args)
Handle h;
int size;
- if (!PyArg_ParseTuple(args, "m#", &dataptr, &size))
+ if (!PyArg_ParseTuple(args, "s#", &dataptr, &size))
return NULL;
h = NewHandle(size);
if ( h == NULL ) {