summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macfsmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:56:59 (GMT)
commit4a8c54e6d91549ae140970862d661dacf1112e31 (patch)
tree23703ecb8562e7301dd487ecb310bf4ad74cf802 /Mac/Modules/macfsmodule.c
parent6a528149dbed46723b8fc48c7b7cd21f9a727dff (diff)
downloadcpython-4a8c54e6d91549ae140970862d661dacf1112e31.zip
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.gz
cpython-4a8c54e6d91549ae140970862d661dacf1112e31.tar.bz2
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
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 5bd2ce5..1a43d16 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, "s#", &fssp, &size))
+ if (!PyArg_ParseTuple(args, "m#", &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, "s#", &dataptr, &size))
+ if (!PyArg_ParseTuple(args, "m#", &dataptr, &size))
return NULL;
h = NewHandle(size);
if ( h == NULL ) {