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
5fa22fc0
Kaydet (Commit)
5fa22fc0
authored
Haz 21, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added the const qualifier for char* argument of Py_EnterRecursiveCall().
üst
73c95f19
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
exceptions.rst
Doc/c-api/exceptions.rst
+1
-1
ceval.h
Include/ceval.h
+1
-1
ceval.c
Python/ceval.c
+1
-1
No files found.
Doc/c-api/exceptions.rst
Dosyayı görüntüle @
5fa22fc0
...
@@ -621,7 +621,7 @@ level, both in the core and in extension modules. They are needed if the
...
@@ -621,7 +621,7 @@ level, both in the core and in extension modules. They are needed if the
recursive code does not necessarily invoke Python code (which tracks its
recursive code does not necessarily invoke Python code (which tracks its
recursion depth automatically).
recursion depth automatically).
.. c:function:: int Py_EnterRecursiveCall(char *where)
.. c:function:: int Py_EnterRecursiveCall(c
onst c
har *where)
Marks a point where a recursive C-level call is about to be performed.
Marks a point where a recursive C-level call is about to be performed.
...
...
Include/ceval.h
Dosyayı görüntüle @
5fa22fc0
...
@@ -77,7 +77,7 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void);
...
@@ -77,7 +77,7 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void);
do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \
PyThreadState_GET()->overflowed = 0; \
PyThreadState_GET()->overflowed = 0; \
} while(0)
} while(0)
PyAPI_FUNC
(
int
)
_Py_CheckRecursiveCall
(
char
*
where
);
PyAPI_FUNC
(
int
)
_Py_CheckRecursiveCall
(
c
onst
c
har
*
where
);
PyAPI_DATA
(
int
)
_Py_CheckRecursionLimit
;
PyAPI_DATA
(
int
)
_Py_CheckRecursionLimit
;
#ifdef USE_STACKCHECK
#ifdef USE_STACKCHECK
...
...
Python/ceval.c
Dosyayı görüntüle @
5fa22fc0
...
@@ -710,7 +710,7 @@ Py_SetRecursionLimit(int new_limit)
...
@@ -710,7 +710,7 @@ Py_SetRecursionLimit(int new_limit)
to guarantee that _Py_CheckRecursiveCall() is regularly called.
to guarantee that _Py_CheckRecursiveCall() is regularly called.
Without USE_STACKCHECK, there is no need for this. */
Without USE_STACKCHECK, there is no need for this. */
int
int
_Py_CheckRecursiveCall
(
char
*
where
)
_Py_CheckRecursiveCall
(
c
onst
c
har
*
where
)
{
{
PyThreadState
*
tstate
=
PyThreadState_GET
();
PyThreadState
*
tstate
=
PyThreadState_GET
();
...
...
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