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
b979b35f
Kaydet (Commit)
b979b35f
authored
Tem 06, 2006
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the changes in svn revision 47263, from patch #1517790.
üst
f40aed93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
libctypes.tex
Doc/lib/libctypes.tex
+6
-0
No files found.
Doc/lib/libctypes.tex
Dosyayı görüntüle @
b979b35f
...
@@ -1648,6 +1648,12 @@ argument to an object that the foreign function accepts. For
...
@@ -1648,6 +1648,12 @@ argument to an object that the foreign function accepts. For
example, a
\class
{
c
{
\_
}
char
{
\_
}
p
}
item in the
\member
{
argtypes
}
tuple will
example, a
\class
{
c
{
\_
}
char
{
\_
}
p
}
item in the
\member
{
argtypes
}
tuple will
convert a unicode string passed as argument into an byte string
convert a unicode string passed as argument into an byte string
using ctypes conversion rules.
using ctypes conversion rules.
New: It is now possible to put items in argtypes which are not
ctypes types, but each item must have a
\method
{
from
{
\_
}
param
}
method
which returns a value usable as argument (integer, string, ctypes
instance). This allows to define adapters that can adapt custom
objects as function parameters.
\end{memberdesc}
\end{memberdesc}
\begin{memberdesc}
{
errcheck
}
\begin{memberdesc}
{
errcheck
}
...
...
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