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
e3c0d5eb
Kaydet (Commit)
e3c0d5eb
authored
Agu 22, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added new Py_IsInitalized() API function to test the 'initialized' flag.
üst
779133c7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
pythonrun.h
Include/pythonrun.h
+1
-0
python_nt.def
PC/python_nt.def
+2
-0
pythonrun.c
Python/pythonrun.c
+8
-0
No files found.
Include/pythonrun.h
Dosyayı görüntüle @
e3c0d5eb
...
...
@@ -42,6 +42,7 @@ char *Py_GetProgramName Py_PROTO((void));
void
Py_Initialize
Py_PROTO
((
void
));
void
Py_Finalize
Py_PROTO
((
void
));
int
Py_IsInitialized
Py_PROTO
((
void
));
PyThreadState
*
Py_NewInterpreter
Py_PROTO
((
void
));
void
Py_EndInterpreter
Py_PROTO
((
PyThreadState
*
));
...
...
PC/python_nt.def
Dosyayı görüntüle @
e3c0d5eb
...
...
@@ -220,6 +220,8 @@ EXPORTS
Py_FatalError
Py_Exit
Py_Initialize
Py_Finalize
Py_IsInitialized
PyErr_Print
PyParser_SimpleParseFile
PyParser_SimpleParseString
...
...
Python/pythonrun.c
Dosyayı görüntüle @
e3c0d5eb
...
...
@@ -78,6 +78,14 @@ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
static
int
initialized
=
0
;
/* API to access the initialized flag -- useful for eroteric use */
int
Py_IsInitialized
()
{
return
initialized
;
}
/* Global initializations. Can be undone by Py_Finalize(). Don't
call this twice without an intervening Py_Finalize() call. When
initializations fail, a fatal error is issued and the function does
...
...
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