PyDoc_STR is always defined nowadays (and has been for quite some time:-)
This commit is contained in:
parent
e48cef7aba
commit
9588770e25
|
@ -82,9 +82,6 @@ AEMethod = OSErrWeakLinkMethodGenerator
|
||||||
|
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#ifndef PyDoc_STR
|
|
||||||
#define PyDoc_STR(x) (x)
|
|
||||||
#endif
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
|
||||||
#ifdef USE_TOOLBOX_OBJECT_GLUE
|
#ifdef USE_TOOLBOX_OBJECT_GLUE
|
||||||
|
|
|
@ -36,9 +36,6 @@ MenuItemIndex = Type("MenuItemIndex", "H")
|
||||||
#EventKind = Type("EventKind", "H")
|
#EventKind = Type("EventKind", "H")
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#ifndef PyDoc_STR
|
|
||||||
#define PyDoc_STR(x) (x)
|
|
||||||
#endif
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,6 @@ FSCatalogInfo_ptr = FakeType("(FSCatalogInfo *)0")
|
||||||
# includestuff etc. are imported from macsupport
|
# includestuff etc. are imported from macsupport
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#ifndef PyDoc_STR
|
|
||||||
#define PyDoc_STR(x) (x)
|
|
||||||
#endif
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
|
||||||
#ifdef USE_TOOLBOX_OBJECT_GLUE
|
#ifdef USE_TOOLBOX_OBJECT_GLUE
|
||||||
|
|
|
@ -26,9 +26,6 @@ from macsupport import *
|
||||||
ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX)
|
ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX)
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#ifndef PyDoc_STR
|
|
||||||
#define PyDoc_STR(x) (x)
|
|
||||||
#endif
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -63,9 +63,6 @@ includestuff = includestuff + """
|
||||||
#include <%s>""" % MACHEADERFILE + """
|
#include <%s>""" % MACHEADERFILE + """
|
||||||
#include <WEObjectHandlers.h>
|
#include <WEObjectHandlers.h>
|
||||||
#include <WETabs.h>
|
#include <WETabs.h>
|
||||||
#ifndef PyDoc_STR
|
|
||||||
#define PyDoc_STR(x) (x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Exported by Qdmodule.c: */
|
/* Exported by Qdmodule.c: */
|
||||||
extern PyObject *QdRGB_New(RGBColor *);
|
extern PyObject *QdRGB_New(RGBColor *);
|
||||||
|
|
Loading…
Reference in New Issue