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
d86b3800
Kaydet (Commit)
d86b3800
authored
Agu 12, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added extern declarations for reference count admin debug functions.
üst
f67a57ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
object.h
Include/object.h
+10
-3
No files found.
Include/object.h
Dosyayı görüntüle @
d86b3800
...
@@ -292,15 +292,22 @@ environment the global variable trick is not safe.)
...
@@ -292,15 +292,22 @@ environment the global variable trick is not safe.)
#endif
#endif
#endif
#endif
#ifdef Py_TRACE_REFS
extern
void
_Py_Dealloc
Py_PROTO
((
PyObject
*
));
extern
void
_Py_NewReference
Py_PROTO
((
PyObject
*
));
extern
void
_Py_ForgetReference
Py_PROTO
((
PyObject
*
));
extern
void
_Py_PrintReferences
Py_PROTO
((
FILE
*
));
#endif
#ifndef Py_TRACE_REFS
#ifndef Py_TRACE_REFS
#ifdef COUNT_ALLOCS
#ifdef COUNT_ALLOCS
#define _Py_Dealloc(op) ((op)->ob_type->tp_free++, (*(op)->ob_type->tp_dealloc)((PyObject *)(op)))
#define _Py_Dealloc(op) ((op)->ob_type->tp_free++, (*(op)->ob_type->tp_dealloc)((PyObject *)(op)))
#define _Py_ForgetReference(op) ((op)->ob_type->tp_free++)
#define _Py_ForgetReference(op) ((op)->ob_type->tp_free++)
#else
#else
/* !COUNT_ALLOCS */
#define _Py_Dealloc(op) (*(op)->ob_type->tp_dealloc)((PyObject *)(op))
#define _Py_Dealloc(op) (*(op)->ob_type->tp_dealloc)((PyObject *)(op))
#define _Py_ForgetReference(op)
/*empty*/
#define _Py_ForgetReference(op)
/*empty*/
#endif
#endif
/* !COUNT_ALLOCS */
#endif
#endif
/* !Py_TRACE_REFS */
#ifdef COUNT_ALLOCS
#ifdef COUNT_ALLOCS
extern
void
inc_count
Py_PROTO
((
PyTypeObject
*
));
extern
void
inc_count
Py_PROTO
((
PyTypeObject
*
));
...
...
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