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
b1af6376
Kaydet (Commit)
b1af6376
authored
Mar 28, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mark a couple of types that had not been marked.
üst
0f9a34da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
extending.tex
Doc/ext/extending.tex
+5
-5
No files found.
Doc/ext/extending.tex
Dosyayı görüntüle @
b1af6376
...
...
@@ -663,16 +663,16 @@ This is to \samp{s\#} as \samp{z} is to \samp{s}.
\item
[\samp{u} (Unicode object) {[Py_UNICODE *]
}
]
Convert a Python Unicode object to a C pointer to a null-terminated
buffer of 16-bit Unicode (UTF-16) data. As with
\samp
{
s
}
, there is no
need
to provide storage for the Unicode data buffer; a pointer to the
existing Unicode data is stored into the
Py
_
UNICODE pointer variable whose
address you pass.
buffer of 16-bit Unicode (UTF-16) data. As with
\samp
{
s
}
, there is no
need
to provide storage for the Unicode data buffer; a pointer to the
existing Unicode data is stored into the
\ctype
{
Py
_
UNICODE
}
pointer
variable whose
address you pass.
\item
[\samp{u\#} (Unicode object) {[Py_UNICODE *, int]
}
]
This variant on
\samp
{
u
}
stores into two C variables, the first one
a pointer to a Unicode data buffer, the second one its length.
Non-Unicode objects are handled by interpreting their read buffer
pointer as pointer to a
Py
_
UNICODE
array.
pointer as pointer to a
\ctype
{
Py
_
UNICODE
}
array.
\item
[
\samp
{
es
}
(string, Unicode object or character buffer compatible
object)
{
[const char *encoding, char **buffer]
}
]
...
...
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