diff options
Diffstat (limited to 'Mac/Modules/menu')
-rw-r--r-- | Mac/Modules/menu/Menumodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/menu/menugen.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Modules/menu/Menumodule.c b/Mac/Modules/menu/Menumodule.c index 78c4f60..a1308f9 100644 --- a/Mac/Modules/menu/Menumodule.c +++ b/Mac/Modules/menu/Menumodule.c @@ -50,7 +50,7 @@ typedef struct MenuObject { } MenuObject; PyObject *MenuObj_New(itself) - const MenuHandle itself; + MenuHandle itself; { MenuObject *it; it = PyObject_NEW(MenuObject, &Menu_Type); diff --git a/Mac/Modules/menu/menugen.py b/Mac/Modules/menu/menugen.py index 30315b8..2be4504 100644 --- a/Mac/Modules/menu/menugen.py +++ b/Mac/Modules/menu/menugen.py @@ -240,3 +240,4 @@ f = Function(void, 'DelMCEntries', (short, 'menuItem', InMode), ) functions.append(f) + |