mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
This commit is contained in:
parent
41e25cc317
commit
9d8b96c850
45 changed files with 244 additions and 916 deletions
|
@ -32,8 +32,6 @@ includestuff = includestuff + """
|
|||
#include <Devices.h> /* Defines OpenDeskAcc in universal headers */
|
||||
#include <%s>""" % MACHEADERFILE + """
|
||||
|
||||
#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
|
||||
|
||||
#define as_Menu(h) ((MenuHandle)h)
|
||||
#define as_Resource(h) ((Handle)h)
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue