diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-09-20 17:40:22 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-09-20 17:40:22 (GMT) |
commit | a755e68df647bd3dc27749998d19cc47649a8b4f (patch) | |
tree | 95f40587e6e5befe6a870474fc9a15cc0f3683b1 /Mac/Modules/help | |
parent | 6dd48686810f4806d98eaffa29e53dfabaca2e08 (diff) | |
download | cpython-a755e68df647bd3dc27749998d19cc47649a8b4f.zip cpython-a755e68df647bd3dc27749998d19cc47649a8b4f.tar.gz cpython-a755e68df647bd3dc27749998d19cc47649a8b4f.tar.bz2 |
Export type objects to Python
Diffstat (limited to 'Mac/Modules/help')
-rw-r--r-- | Mac/Modules/help/Helpmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/help/helpsupport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/help/Helpmodule.c b/Mac/Modules/help/Helpmodule.c index aac22ad..e6cb0a2 100644 --- a/Mac/Modules/help/Helpmodule.c +++ b/Mac/Modules/help/Helpmodule.c @@ -60,7 +60,7 @@ static PyObject *Help_HMGetHelpMenuHandle(_self, _args) _err = HMGetHelpMenuHandle(&mh); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", - ResObj_New, mh); + MenuObj_New, mh); return _res; } diff --git a/Mac/Modules/help/helpsupport.py b/Mac/Modules/help/helpsupport.py index 570ac32..1e7ac84 100644 --- a/Mac/Modules/help/helpsupport.py +++ b/Mac/Modules/help/helpsupport.py @@ -21,7 +21,7 @@ OUTPUTFILE = MODNAME + "module.c" # The file generated by this program from macsupport import * # Create the type objects -MenuRef = OpaqueByValueType("MenuRef", "ResObj") +MenuRef = OpaqueByValueType("MenuRef", "MenuObj") #WindowPeek = OpaqueByValueType("WindowPeek", OBJECTPREFIX) |