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
b1094f0b
Kaydet (Commit)
b1094f0b
authored
May 04, 2002
tarafından
Neil Schemenauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
_PyGC_generation0 is now a pointer
üst
2880ae53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
objimpl.h
Include/objimpl.h
+4
-4
No files found.
Include/objimpl.h
Dosyayı görüntüle @
b1094f0b
...
...
@@ -258,7 +258,7 @@ typedef union _gc_head {
long
double
dummy
;
/* force worst-case alignment */
}
PyGC_Head
;
extern
PyGC_Head
_PyGC_generation0
;
extern
PyGC_Head
*
_PyGC_generation0
;
#define _Py_AS_GC(o) ((PyGC_Head *)(o)-1)
...
...
@@ -268,10 +268,10 @@ extern PyGC_Head _PyGC_generation0;
PyGC_Head *g = _Py_AS_GC(o); \
if (g->gc.gc_next != NULL) \
Py_FatalError("GC object already in linked list"); \
g->gc.gc_next =
&
_PyGC_generation0; \
g->gc.gc_prev = _PyGC_generation0
.
gc.gc_prev; \
g->gc.gc_next = _PyGC_generation0; \
g->gc.gc_prev = _PyGC_generation0
->
gc.gc_prev; \
g->gc.gc_prev->gc.gc_next = g; \
_PyGC_generation0
.
gc.gc_prev = g; \
_PyGC_generation0
->
gc.gc_prev = g; \
} while (0);
/* Tell the GC to stop tracking this object. */
...
...
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