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
5483fe55
Kaydet (Commit)
5483fe55
authored
May 17, 2009
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove trailing whitespace.
üst
4ad1d6f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pycapsule.h
Include/pycapsule.h
+3
-3
No files found.
Include/pycapsule.h
Dosyayı görüntüle @
5483fe55
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
/* Capsule objects let you wrap a C "void *" pointer in a Python
/* Capsule objects let you wrap a C "void *" pointer in a Python
object. They're a way of passing data through the Python interpreter
object. They're a way of passing data through the Python interpreter
without creating your own custom type.
without creating your own custom type.
Capsules are used for communication between extension modules.
Capsules are used for communication between extension modules.
They provide a way for an extension module to export a C interface
They provide a way for an extension module to export a C interface
to other extension modules, so that extension modules can use the
to other extension modules, so that extension modules can use the
Python import mechanism to link to one another.
Python import mechanism to link to one another.
For more information, please see "c-api/capsule.html" in the
For more information, please see "c-api/capsule.html" in the
documentation.
documentation.
*/
*/
...
@@ -26,7 +26,7 @@ typedef void (*PyCapsule_Destructor)(PyObject *);
...
@@ -26,7 +26,7 @@ typedef void (*PyCapsule_Destructor)(PyObject *);
PyAPI_FUNC
(
PyObject
*
)
PyCapsule_New
(
PyAPI_FUNC
(
PyObject
*
)
PyCapsule_New
(
void
*
pointer
,
void
*
pointer
,
const
char
*
name
,
const
char
*
name
,
PyCapsule_Destructor
destructor
);
PyCapsule_Destructor
destructor
);
...
...
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