From 9588770e25db99692f3ebb680235bc1a02b65017 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 19 Nov 2003 16:18:02 +0000 Subject: PyDoc_STR is always defined nowadays (and has been for quite some time:-) --- Mac/Modules/ae/aesupport.py | 3 --- Mac/Modules/help/helpsupport.py | 3 --- Mac/Modules/res/ressupport.py | 3 --- Mac/Modules/scrap/scrapsupport.py | 3 --- Mac/Modules/waste/wastesupport.py | 3 --- 5 files changed, 15 deletions(-) diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index 672b544..96d1ccf 100644 --- a/Mac/Modules/ae/aesupport.py +++ b/Mac/Modules/ae/aesupport.py @@ -82,9 +82,6 @@ AEMethod = OSErrWeakLinkMethodGenerator includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/help/helpsupport.py b/Mac/Modules/help/helpsupport.py index 230ec0c..a630603 100644 --- a/Mac/Modules/help/helpsupport.py +++ b/Mac/Modules/help/helpsupport.py @@ -36,9 +36,6 @@ MenuItemIndex = Type("MenuItemIndex", "H") #EventKind = Type("EventKind", "H") includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include """ diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 91ab00a..6135560 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -25,9 +25,6 @@ FSCatalogInfo_ptr = FakeType("(FSCatalogInfo *)0") # includestuff etc. are imported from macsupport includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/scrap/scrapsupport.py b/Mac/Modules/scrap/scrapsupport.py index 85c1e3b..634a439 100644 --- a/Mac/Modules/scrap/scrapsupport.py +++ b/Mac/Modules/scrap/scrapsupport.py @@ -26,9 +26,6 @@ from macsupport import * ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include /* diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py index e983b15..c669fa1 100644 --- a/Mac/Modules/waste/wastesupport.py +++ b/Mac/Modules/waste/wastesupport.py @@ -63,9 +63,6 @@ includestuff = includestuff + """ #include <%s>""" % MACHEADERFILE + """ #include #include -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif /* Exported by Qdmodule.c: */ extern PyObject *QdRGB_New(RGBColor *); -- cgit v0.12