summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/winsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-13 15:02:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-13 15:02:02 (GMT)
commit65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0 (patch)
tree97ea112375ea86c214559e5dc0eeddc434e93132 /Mac/Modules/win/winsupport.py
parent55309a31df89d83c996426413915c1717b367a8d (diff)
downloadcpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.zip
cpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.tar.gz
cpython-65cbf93fce1eaf6cfc89b93e9a5c798b4ac81aa0.tar.bz2
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
Diffstat (limited to 'Mac/Modules/win/winsupport.py')
-rw-r--r--Mac/Modules/win/winsupport.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Mac/Modules/win/winsupport.py b/Mac/Modules/win/winsupport.py
index 5d041d6..d99ca1e 100644
--- a/Mac/Modules/win/winsupport.py
+++ b/Mac/Modules/win/winsupport.py
@@ -74,21 +74,10 @@ extern int _WinObj_Convert(PyObject *, WindowRef *);
#define WinObj_Convert _WinObj_Convert
#endif
-#if !ACCESSOR_CALLS_ARE_FUNCTIONS && UNIVERSAL_INTERFACES_VERSION < 0x340
-/* Carbon calls that we emulate in classic mode */
-#define GetWindowSpareFlag(win) (((CWindowPeek)(win))->spareFlag)
-#define GetWindowFromPort(port) ((WindowRef)(port))
-#define GetWindowPortBounds(win, rectp) (*(rectp) = ((CWindowPeek)(win))->port.portRect)
-#endif
-#if !ACCESSOR_CALLS_ARE_FUNCTIONS
-#define IsPointerValid(p) (((long)p&3) == 0)
-#endif
-#if ACCESSOR_CALLS_ARE_FUNCTIONS
/* Classic calls that we emulate in carbon mode */
#define GetWindowUpdateRgn(win, rgn) GetWindowRegion((win), kWindowUpdateRgn, (rgn))
#define GetWindowStructureRgn(win, rgn) GetWindowRegion((win), kWindowStructureRgn, (rgn))
#define GetWindowContentRgn(win, rgn) GetWindowRegion((win), kWindowContentRgn, (rgn))
-#endif
/* Function to dispose a window, with a "normal" calling sequence */
static void