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
40b546d4
Kaydet (Commit)
40b546d4
authored
Kas 14, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Initialize GUSI on the mac.
üst
8a5d0d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
_tkinter.c
Modules/_tkinter.c
+21
-0
No files found.
Modules/_tkinter.c
Dosyayı görüntüle @
40b546d4
...
@@ -13,6 +13,11 @@ static FSSpec library_fss;
...
@@ -13,6 +13,11 @@ static FSSpec library_fss;
#ifdef MAC_TCL
#ifdef MAC_TCL
#define WITH_APPINIT
#define WITH_APPINIT
#ifdef __MWERKS__
void
GUSISetup
(
void
(
*
socketfamily
)());
void
GUSIwithInternetSockets
(
void
);
void
GUSIwithSIOUXSockets
(
void
);
#endif
#endif
#endif
#define PyInit__tkinter init_tkinter
#define PyInit__tkinter init_tkinter
...
@@ -1271,6 +1276,9 @@ PyInit__tkinter ()
...
@@ -1271,6 +1276,9 @@ PyInit__tkinter ()
if
(
Py_AtExit
(
Tkinter_Cleanup
)
!=
0
)
if
(
Py_AtExit
(
Tkinter_Cleanup
)
!=
0
)
fprintf
(
stderr
,
fprintf
(
stderr
,
"Tkinter: warning: cleanup procedure not registered
\n
"
);
"Tkinter: warning: cleanup procedure not registered
\n
"
);
#ifdef __MWERKS__
PyTk_InitGUSI
();
#endif
}
}
if
(
PyErr_Occurred
())
if
(
PyErr_Occurred
())
...
@@ -1295,6 +1303,19 @@ panic(char * format, ...)
...
@@ -1295,6 +1303,19 @@ panic(char * format, ...)
Py_FatalError
(
"Tcl/Tk panic"
);
Py_FatalError
(
"Tcl/Tk panic"
);
}
}
#ifdef __MWERKS__
void
PyTk_InitGUSI
()
{
static
int
is_inited
;
if
(
is_inited
)
return
;
GUSISetup
(
GUSIwithInternetSockets
);
GUSISetup
(
GUSIwithSIOUXSockets
);
is_inited
=
1
;
}
#endif
/* __MWERKS__ */
/*
/*
** If this module is dynamically loaded the following routine should
** If this module is dynamically loaded the following routine should
...
...
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