Commit fe9acdea authored by Jack Jansen's avatar Jack Jansen

Typecode for AHTOCType was wrong. Fixed.

parent 4e39949d
...@@ -52,7 +52,7 @@ static PyObject *Ah_AHGotoMainTOC(PyObject *_self, PyObject *_args) ...@@ -52,7 +52,7 @@ static PyObject *Ah_AHGotoMainTOC(PyObject *_self, PyObject *_args)
PyObject *_res = NULL; PyObject *_res = NULL;
OSStatus _err; OSStatus _err;
AHTOCType toctype; AHTOCType toctype;
if (!PyArg_ParseTuple(_args, "s", if (!PyArg_ParseTuple(_args, "h",
&toctype)) &toctype))
return NULL; return NULL;
_err = AHGotoMainTOC(toctype); _err = AHGotoMainTOC(toctype);
......
...@@ -17,7 +17,7 @@ OUTPUTFILE = MODNAME + "module.c" # The file generated by this program ...@@ -17,7 +17,7 @@ OUTPUTFILE = MODNAME + "module.c" # The file generated by this program
from macsupport import * from macsupport import *
# Create the type objects # Create the type objects
AHTOCType = Type("AHTOCType", "s") AHTOCType = Type("AHTOCType", "h")
includestuff = includestuff + """ includestuff = includestuff + """
#ifdef WITHOUT_FRAMEWORKS #ifdef WITHOUT_FRAMEWORKS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment