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
7b8e2819
Kaydet (Commit)
7b8e2819
authored
Ock 19, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #670229: doc improvement for cStringIO.h
Gernot Hillier added more detail to the internal API documentation.
üst
9543b340
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
cStringIO.h
Include/cStringIO.h
+12
-5
No files found.
Include/cStringIO.h
Dosyayı görüntüle @
7b8e2819
...
@@ -26,22 +26,29 @@ extern "C" {
...
@@ -26,22 +26,29 @@ extern "C" {
static
struct
PycStringIO_CAPI
{
static
struct
PycStringIO_CAPI
{
/* Read a string. If the last argument is -1, the remainder will be read. */
/* Read a string from an input object. If the last argument
is -1, the remainder will be read.
*/
int
(
*
cread
)(
PyObject
*
,
char
**
,
int
);
int
(
*
cread
)(
PyObject
*
,
char
**
,
int
);
/* Read a line */
/* Read a line from an input object. Returns the length of the read
line as an int and a pointer inside the object buffer as char** (so
the caller doesn't have to provide its own buffer as destination).
*/
int
(
*
creadline
)(
PyObject
*
,
char
**
);
int
(
*
creadline
)(
PyObject
*
,
char
**
);
/* Write a string */
/* Write a string
to an output object
*/
int
(
*
cwrite
)(
PyObject
*
,
char
*
,
int
);
int
(
*
cwrite
)(
PyObject
*
,
char
*
,
int
);
/* Get the
cStringIO object as a Python string
*/
/* Get the
output object as a Python string (returns new reference).
*/
PyObject
*
(
*
cgetvalue
)(
PyObject
*
);
PyObject
*
(
*
cgetvalue
)(
PyObject
*
);
/* Create a new output object */
/* Create a new output object */
PyObject
*
(
*
NewOutput
)(
int
);
PyObject
*
(
*
NewOutput
)(
int
);
/* Create an input object from a Python string */
/* Create an input object from a Python string
(copies the Python string reference).
*/
PyObject
*
(
*
NewInput
)(
PyObject
*
);
PyObject
*
(
*
NewInput
)(
PyObject
*
);
/* The Python types for cStringIO input and output objects.
/* The Python types for cStringIO input and output objects.
...
...
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