diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-30 23:02:09 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-30 23:02:09 (GMT) |
commit | fe9acdea8af57a7810b02c667269b27c3d5e4348 (patch) | |
tree | 4b2988d3d9456cc713d228072998a32e66b26245 /Mac/Modules/ah | |
parent | 4e39949d8711a95a8793eadff4380c404ac5643c (diff) | |
download | cpython-fe9acdea8af57a7810b02c667269b27c3d5e4348.zip cpython-fe9acdea8af57a7810b02c667269b27c3d5e4348.tar.gz cpython-fe9acdea8af57a7810b02c667269b27c3d5e4348.tar.bz2 |
Typecode for AHTOCType was wrong. Fixed.
Diffstat (limited to 'Mac/Modules/ah')
-rw-r--r-- | Mac/Modules/ah/_AHmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/ah/ahsupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ah/_AHmodule.c b/Mac/Modules/ah/_AHmodule.c index 7543e54..cf69076 100644 --- a/Mac/Modules/ah/_AHmodule.c +++ b/Mac/Modules/ah/_AHmodule.c @@ -52,7 +52,7 @@ static PyObject *Ah_AHGotoMainTOC(PyObject *_self, PyObject *_args) PyObject *_res = NULL; OSStatus _err; AHTOCType toctype; - if (!PyArg_ParseTuple(_args, "s", + if (!PyArg_ParseTuple(_args, "h", &toctype)) return NULL; _err = AHGotoMainTOC(toctype); diff --git a/Mac/Modules/ah/ahsupport.py b/Mac/Modules/ah/ahsupport.py index b07c779..a1e6d00 100644 --- a/Mac/Modules/ah/ahsupport.py +++ b/Mac/Modules/ah/ahsupport.py @@ -17,7 +17,7 @@ OUTPUTFILE = MODNAME + "module.c" # The file generated by this program from macsupport import * # Create the type objects -AHTOCType = Type("AHTOCType", "s") +AHTOCType = Type("AHTOCType", "h") includestuff = includestuff + """ #ifdef WITHOUT_FRAMEWORKS |