mirror of https://github.com/python/cpython
Typecode for AHTOCType was wrong. Fixed.
This commit is contained in:
parent
4e39949d87
commit
fe9acdea8a
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue