PyDoc_STR is always defined nowadays (and has been for quite some time:-)

This commit is contained in:
Jack Jansen 2003-11-19 16:18:02 +00:00
parent e48cef7aba
commit 9588770e25
5 changed files with 0 additions and 15 deletions

View File

@ -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

View File

@ -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>
""" """

View File

@ -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

View File

@ -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>
/* /*

View File

@ -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 *);