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
ded690fc
Kaydet (Commit)
ded690fc
authored
May 24, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename printrefs, getobjects to _Py_ prefix
üst
363078af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
object.c
Objects/object.c
+2
-2
pythonrun.c
Python/pythonrun.c
+1
-1
sysmodule.c
Python/sysmodule.c
+4
-2
No files found.
Objects/object.c
Dosyayı görüntüle @
ded690fc
...
@@ -525,7 +525,7 @@ DELREF(op)
...
@@ -525,7 +525,7 @@ DELREF(op)
(
*
dealloc
)(
op
);
(
*
dealloc
)(
op
);
}
}
printref
s
(
fp
)
_Py_PrintReference
s
(
fp
)
FILE
*
fp
;
FILE
*
fp
;
{
{
object
*
op
;
object
*
op
;
...
@@ -541,7 +541,7 @@ printrefs(fp)
...
@@ -541,7 +541,7 @@ printrefs(fp)
}
}
PyObject
*
PyObject
*
geto
bjects
(
self
,
args
)
_Py_GetO
bjects
(
self
,
args
)
PyObject
*
self
;
PyObject
*
self
;
PyObject
*
args
;
PyObject
*
args
;
{
{
...
...
Python/pythonrun.c
Dosyayı görüntüle @
ded690fc
...
@@ -658,7 +658,7 @@ goaway(sts)
...
@@ -658,7 +658,7 @@ goaway(sts)
#ifdef Py_TRACE_REFS
#ifdef Py_TRACE_REFS
if
(
askyesno
(
"Print left references?"
))
{
if
(
askyesno
(
"Print left references?"
))
{
printref
s
(
stderr
);
_Py_PrintReference
s
(
stderr
);
}
}
#endif
/* Py_TRACE_REFS */
#endif
/* Py_TRACE_REFS */
...
...
Python/sysmodule.c
Dosyayı görüntüle @
ded690fc
...
@@ -183,8 +183,10 @@ sys_getcounts(self, args)
...
@@ -183,8 +183,10 @@ sys_getcounts(self, args)
#endif
#endif
#ifdef Py_TRACE_REFS
#ifdef Py_TRACE_REFS
extern
PyObject
*
getobjects
Py_PROTO
((
PyObject
*
,
PyObject
*
));
/* Defined in objects.c because it uses static globals if that file */
extern
PyObject
*
_Py_GetObjects
Py_PROTO
((
PyObject
*
,
PyObject
*
));
#endif
#endif
static
struct
methodlist
sys_methods
[]
=
{
static
struct
methodlist
sys_methods
[]
=
{
{
"exit"
,
sys_exit
,
0
},
{
"exit"
,
sys_exit
,
0
},
{
"getrefcount"
,
sys_getrefcount
,
0
},
{
"getrefcount"
,
sys_getrefcount
,
0
},
...
@@ -192,7 +194,7 @@ static struct methodlist sys_methods[] = {
...
@@ -192,7 +194,7 @@ static struct methodlist sys_methods[] = {
{
"getcounts"
,
sys_getcounts
,
0
},
{
"getcounts"
,
sys_getcounts
,
0
},
#endif
#endif
#ifdef Py_TRACE_REFS
#ifdef Py_TRACE_REFS
{
"getobjects"
,
geto
bjects
,
1
},
{
"getobjects"
,
_Py_GetO
bjects
,
1
},
#endif
#endif
#ifdef USE_MALLOPT
#ifdef USE_MALLOPT
{
"mdebug"
,
sys_mdebug
,
0
},
{
"mdebug"
,
sys_mdebug
,
0
},
...
...
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