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
ed39cd05
Kaydet (Commit)
ed39cd05
authored
Eki 08, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
change warning about C++
üst
e5eb5eb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ext.tex
Doc/ext.tex
+3
-2
ext.tex
Doc/ext/ext.tex
+3
-2
No files found.
Doc/ext.tex
Dosyayı görüntüle @
ed39cd05
...
...
@@ -1133,9 +1133,10 @@ the Python user.
\section
{
Writing Extensions in
\Cpp
{}}
It is possible to write extension modules in
\Cpp
{}
. Some restrictions
apply
: since
the main program (the Python interpreter) is compiled and
apply
. If
the main program (the Python interpreter) is compiled and
linked by the C compiler, global or static objects with constructors
cannot be used. All functions that will be called directly or
cannot be used. This is not a problem if the main program is linked
by the
\Cpp
{}
compiler. All functions that will be called directly or
indirectly (i.e. via function pointers) by the Python interpreter will
have to be declared using
\code
{
extern "C"
}
; this applies to all
``methods'' as well as to the module's initialization function.
...
...
Doc/ext/ext.tex
Dosyayı görüntüle @
ed39cd05
...
...
@@ -1133,9 +1133,10 @@ the Python user.
\section
{
Writing Extensions in
\Cpp
{}}
It is possible to write extension modules in
\Cpp
{}
. Some restrictions
apply
: since
the main program (the Python interpreter) is compiled and
apply
. If
the main program (the Python interpreter) is compiled and
linked by the C compiler, global or static objects with constructors
cannot be used. All functions that will be called directly or
cannot be used. This is not a problem if the main program is linked
by the
\Cpp
{}
compiler. All functions that will be called directly or
indirectly (i.e. via function pointers) by the Python interpreter will
have to be declared using
\code
{
extern "C"
}
; this applies to all
``methods'' as well as to the module's initialization function.
...
...
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