Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a44923fb
Kaydet (Commit)
a44923fb
authored
Tem 14, 2000
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.
üst
74a1e63a
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
83 deletions
+0
-83
macglue.h
Mac/Include/macglue.h
+0
-8
AEmodule.c
Mac/Modules/ae/AEmodule.c
+0
-22
aesupport.py
Mac/Modules/ae/aesupport.py
+0
-22
ctbmodule.c
Mac/Modules/ctbmodule.c
+0
-6
Dlgmodule.c
Mac/Modules/dlg/Dlgmodule.c
+0
-4
dlgsupport.py
Mac/Modules/dlg/dlgsupport.py
+0
-4
Scrapmodule.c
Mac/Modules/scrap/Scrapmodule.c
+0
-5
Sndmodule.c
Mac/Modules/snd/Sndmodule.c
+0
-6
sndsupport.py
Mac/Modules/snd/sndsupport.py
+0
-6
No files found.
Mac/Include/macglue.h
Dosyayı görüntüle @
a44923fb
...
@@ -22,10 +22,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -22,10 +22,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
******************************************************************/
#ifndef SystemSevenOrLater
#define SystemSevenOrLater 1
#endif
#include <Types.h>
#include <Types.h>
#include <Files.h>
#include <Files.h>
#include <Events.h>
#include <Events.h>
...
@@ -45,10 +41,6 @@ typedef struct {
...
@@ -45,10 +41,6 @@ typedef struct {
}
PyMacSchedParams
;
}
PyMacSchedParams
;
#ifdef GENERATINGCFM
/* Defined to 0 or 1 in Universal headers */
#define HAVE_UNIVERSAL_HEADERS
#endif
#ifdef USE_GUSI1
#ifdef USE_GUSI1
void
PyMac_FixGUSIcd
(
void
);
/* Workaround for GUSI chdir() call */
void
PyMac_FixGUSIcd
(
void
);
/* Workaround for GUSI chdir() call */
extern
void
PyMac_SetGUSISpin
(
void
);
/* Install our private GUSI spin routine */
extern
void
PyMac_SetGUSISpin
(
void
);
/* Install our private GUSI spin routine */
...
...
Mac/Modules/ae/AEmodule.c
Dosyayı görüntüle @
a44923fb
...
@@ -10,28 +10,6 @@
...
@@ -10,28 +10,6 @@
#include <AppleEvents.h>
#include <AppleEvents.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define AEIdleProcPtr IdleProcPtr
#define AEFilterProcPtr EventFilterProcPtr
#define AEEventHandlerProcPtr EventHandlerProcPtr
#endif
#ifndef HAVE_UNIVERSAL_HEADERS
/* I'm trying to setup the code here so that is easily automated,
** as follows:
** - Use the UPP in the source
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
** - for each routine we pass we declare a upp_xxx that
** we initialize to the correct value in the init routine.
*/
#define AEIdleUPP AEIdleProcPtr
#define AEFilterUPP AEFilterProcPtr
#define AEEventHandlerUPP AEEventHandlerProcPtr
#define NewAEIdleProc(x) (x)
#define NewAEFilterProc(x) (x)
#define NewAEEventHandlerProc(x) (x)
#endif
static
pascal
OSErr
GenericEventHandler
();
/* Forward */
static
pascal
OSErr
GenericEventHandler
();
/* Forward */
AEEventHandlerUPP
upp_GenericEventHandler
;
AEEventHandlerUPP
upp_GenericEventHandler
;
...
...
Mac/Modules/ae/aesupport.py
Dosyayı görüntüle @
a44923fb
...
@@ -84,28 +84,6 @@ AEMethod = OSErrMethodGenerator
...
@@ -84,28 +84,6 @@ AEMethod = OSErrMethodGenerator
includestuff
=
includestuff
+
"""
includestuff
=
includestuff
+
"""
#include <AppleEvents.h>
#include <AppleEvents.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define AEIdleProcPtr IdleProcPtr
#define AEFilterProcPtr EventFilterProcPtr
#define AEEventHandlerProcPtr EventHandlerProcPtr
#endif
#ifndef HAVE_UNIVERSAL_HEADERS
/* I'm trying to setup the code here so that is easily automated,
** as follows:
** - Use the UPP in the source
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
** - for each routine we pass we declare a upp_xxx that
** we initialize to the correct value in the init routine.
*/
#define AEIdleUPP AEIdleProcPtr
#define AEFilterUPP AEFilterProcPtr
#define AEEventHandlerUPP AEEventHandlerProcPtr
#define NewAEIdleProc(x) (x)
#define NewAEFilterProc(x) (x)
#define NewAEEventHandlerProc(x) (x)
#endif
static pascal OSErr GenericEventHandler(); /* Forward */
static pascal OSErr GenericEventHandler(); /* Forward */
AEEventHandlerUPP upp_GenericEventHandler;
AEEventHandlerUPP upp_GenericEventHandler;
...
...
Mac/Modules/ctbmodule.c
Dosyayı görüntüle @
a44923fb
...
@@ -36,12 +36,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -36,12 +36,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <ToolUtils.h>
#include <ToolUtils.h>
#include <OSUtils.h>
#include <OSUtils.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define ConnectionCompletionUPP ProcPtr
#define ConnectionChooseIdleUPP ProcPtr
#define NewConnectionCompletionProc(x) (x)
#define NewConnectionChooseIdleProc(x) (x)
#endif
#define _UnimplementedToolTrap 0xA89F
#define _UnimplementedToolTrap 0xA89F
#define _CommToolboxTrap 0x8B
#define _CommToolboxTrap 0x8B
...
...
Mac/Modules/dlg/Dlgmodule.c
Dosyayı görüntüle @
a44923fb
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
#include <Dialogs.h>
#include <Dialogs.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define NewModalFilterProc(x) (x)
#endif
/* XXX Shouldn't this be a stack? */
/* XXX Shouldn't this be a stack? */
static
PyObject
*
Dlg_FilterProc_callback
=
NULL
;
static
PyObject
*
Dlg_FilterProc_callback
=
NULL
;
...
...
Mac/Modules/dlg/dlgsupport.py
Dosyayı görüntüle @
a44923fb
...
@@ -31,10 +31,6 @@ EventMask = Type("EventMask", "H")
...
@@ -31,10 +31,6 @@ EventMask = Type("EventMask", "H")
includestuff
=
includestuff
+
"""
includestuff
=
includestuff
+
"""
#include <Dialogs.h>
#include <Dialogs.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define NewModalFilterProc(x) (x)
#endif
/* XXX Shouldn't this be a stack? */
/* XXX Shouldn't this be a stack? */
static PyObject *Dlg_FilterProc_callback = NULL;
static PyObject *Dlg_FilterProc_callback = NULL;
...
...
Mac/Modules/scrap/Scrapmodule.c
Dosyayı görüntüle @
a44923fb
...
@@ -2,11 +2,6 @@
...
@@ -2,11 +2,6 @@
/* ========================== Module Scrap ========================== */
/* ========================== Module Scrap ========================== */
#include "Python.h"
#include "Python.h"
#define SystemSevenOrLater 1
#include "macglue.h"
#include "macglue.h"
#include <Memory.h>
#include <Memory.h>
#include <Dialogs.h>
#include <Dialogs.h>
...
...
Mac/Modules/snd/Sndmodule.c
Dosyayı görüntüle @
a44923fb
...
@@ -10,12 +10,6 @@
...
@@ -10,12 +10,6 @@
#include <Sound.h>
#include <Sound.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x))
#define SndListHandle Handle
#endif
#include <OSUtils.h>
/* for Set(Current)A5 */
#include <OSUtils.h>
/* for Set(Current)A5 */
/* Create a SndCommand object (an (int, int, int) tuple) */
/* Create a SndCommand object (an (int, int, int) tuple) */
...
...
Mac/Modules/snd/sndsupport.py
Dosyayı görüntüle @
a44923fb
...
@@ -18,12 +18,6 @@ class SndMethod(SndMixIn, OSErrMethodGenerator): pass
...
@@ -18,12 +18,6 @@ class SndMethod(SndMixIn, OSErrMethodGenerator): pass
includestuff
=
includestuff
+
"""
includestuff
=
includestuff
+
"""
#include <Sound.h>
#include <Sound.h>
#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
#define NewSndCallBackProc(x) ((SndCallBackProcPtr)(x))
#define SndListHandle Handle
#endif
"""
"""
initstuff
=
initstuff
+
"""
initstuff
=
initstuff
+
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment