]> granicus.if.org Git - python/commitdiff
PyDoc_STR is always defined nowadays (and has been for quite some time:-)
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Nov 2003 16:18:02 +0000 (16:18 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Nov 2003 16:18:02 +0000 (16:18 +0000)
Mac/Modules/ae/aesupport.py
Mac/Modules/help/helpsupport.py
Mac/Modules/res/ressupport.py
Mac/Modules/scrap/scrapsupport.py
Mac/Modules/waste/wastesupport.py

index 672b5441f7d98295ed046de615c97013fb3e9f0d..96d1ccf2d665f3457462081638377cada55427e2 100644 (file)
@@ -82,9 +82,6 @@ AEMethod = OSErrWeakLinkMethodGenerator
 
 
 includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
 #include <Carbon/Carbon.h>
 
 #ifdef USE_TOOLBOX_OBJECT_GLUE
index 230ec0c57f814def829bb2ead93a4e108dfbd9a6..a63060348df5f72166672818069fd8982f2667c1 100644 (file)
@@ -36,9 +36,6 @@ MenuItemIndex = Type("MenuItemIndex", "H")
 #EventKind = Type("EventKind", "H")
 
 includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
 #include <Carbon/Carbon.h>
 """
 
index 91ab00a1c9413ba8a82698004ec783c36658a707..6135560cd715b15b9a1aa2c536c577a7c9b95827 100644 (file)
@@ -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 <Carbon/Carbon.h>
 
 #ifdef USE_TOOLBOX_OBJECT_GLUE
index 85c1e3b930d16276493255654396f221c8adc7f0..634a43988f13822baf137afaf2e2d82e5b5770c2 100644 (file)
@@ -26,9 +26,6 @@ from macsupport import *
 ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX)
 
 includestuff = includestuff + """
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
 #include <Carbon/Carbon.h>
 
 /*
index e983b154ce6914ae5145c374eb1ad9f24831b026..c669fa13aa8f40fd8387101d2afd830b568a5248 100644 (file)
@@ -63,9 +63,6 @@ includestuff = includestuff + """
 #include <%s>""" % MACHEADERFILE + """
 #include <WEObjectHandlers.h>
 #include <WETabs.h>
-#ifndef PyDoc_STR
-#define PyDoc_STR(x) (x)
-#endif
 
 /* Exported by Qdmodule.c: */
 extern PyObject *QdRGB_New(RGBColor *);