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
16df2aa5
Kaydet (Commit)
16df2aa5
authored
Şub 27, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Under MW also be more conservative about events to request
üst
7c750e1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
macglue.c
Mac/Python/macglue.c
+6
-11
No files found.
Mac/Python/macglue.c
Dosyayı görüntüle @
16df2aa5
...
@@ -45,6 +45,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -45,6 +45,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef THINK_C
#ifdef THINK_C
#include <OSEvents.h>
/* For EvQElPtr */
#include <OSEvents.h>
/* For EvQElPtr */
#endif
#endif
#ifdef __MWERKS__
#include <SIOUX.h>
#endif
#ifndef HAVE_UNIVERSAL_HEADERS
#ifndef HAVE_UNIVERSAL_HEADERS
#define GetResourceSizeOnDisk(x) SizeResource(x)
#define GetResourceSizeOnDisk(x) SizeResource(x)
...
@@ -69,21 +72,13 @@ typedef FileFilterYDProcPtr FileFilterYDUPP;
...
@@ -69,21 +72,13 @@ typedef FileFilterYDProcPtr FileFilterYDUPP;
#define GETDIR_ID 130
/* Resource ID for our "get directory" */
#define GETDIR_ID 130
/* Resource ID for our "get directory" */
#define SELECTCUR_ITEM 10
/* "Select current directory" button */
#define SELECTCUR_ITEM 10
/* "Select current directory" button */
#ifdef __MWERKS__
/*
** With MW we can pass the event off to the console window, so
** we might as well handle all events.
*/
#include <SIOUX.h>
#define MAINLOOP_EVENTMASK everyEvent
#else
/*
/*
**
For other compilers we're mor
e careful, since we can't handle
**
We have to b
e careful, since we can't handle
** things like updates (and they'll keep coming back if we don't
** things like updates (and they'll keep coming back if we don't
** handle them)
** handle them). Note that we don't know who has windows open, so
** even handing updates off to SIOUX under MW isn't going to work.
*/
*/
#define MAINLOOP_EVENTMASK (mDownMask|keyDownMask|osMask)
#define MAINLOOP_EVENTMASK (mDownMask|keyDownMask|osMask)
#endif
/* __MWERKS__ */
#include <signal.h>
#include <signal.h>
...
...
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