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
f350160d
Kaydet (Commit)
f350160d
authored
Eyl 08, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix spacing markup and other sundries.
üst
b67449d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
extending.tex
Doc/ext/extending.tex
+2
-2
No files found.
Doc/ext/extending.tex
Dosyayı görüntüle @
f350160d
\chapter
{
Extending Python with
C or
\Cpp
\label
{
intro
}}
\chapter
{
Extending Python with
\C
{}
or
\Cpp
{}
\label
{
intro
}}
It is quite easy to add new built-in modules to Python, if you know
...
...
@@ -349,7 +349,7 @@ initspam(void)
Note that PyMODINIT
_
FUNC declares the function as
\code
{
void
}
return type,
declares any special linkage declarations required by the platform, and for
\Cpp
declares the function as
\code
{
extern "C"
}
.
\Cpp
{}
declares the function as
\code
{
extern "C"
}
.
When the Python program imports module
\module
{
spam
}
for the first
time,
\cfunction
{
initspam()
}
is called. (See below for comments about
...
...
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