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
3fd13995
Kaydet (Commit)
3fd13995
authored
Mar 21, 2008
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Disabled some unused functions to silence compiler warnings
üst
87824086
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
unicodeobject.c
Objects/unicodeobject.c
+4
-0
No files found.
Objects/unicodeobject.c
Dosyayı görüntüle @
3fd13995
...
@@ -8347,6 +8347,7 @@ doubletounicode(Py_UNICODE *buffer, size_t len, const char *format, double x)
...
@@ -8347,6 +8347,7 @@ doubletounicode(Py_UNICODE *buffer, size_t len, const char *format, double x)
return
Py_SAFE_DOWNCAST
(
result
,
Py_ssize_t
,
int
);
return
Py_SAFE_DOWNCAST
(
result
,
Py_ssize_t
,
int
);
}
}
#if 0
static int
static int
longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
{
{
...
@@ -8356,6 +8357,7 @@ longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
...
@@ -8356,6 +8357,7 @@ longtounicode(Py_UNICODE *buffer, size_t len, const char *format, long x)
result = strtounicode(buffer, (char *)buffer);
result = strtounicode(buffer, (char *)buffer);
return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
return Py_SAFE_DOWNCAST(result, Py_ssize_t, int);
}
}
#endif
/* XXX To save some code duplication, formatfloat/long/int could have been
/* XXX To save some code duplication, formatfloat/long/int could have been
shared with stringobject.c, converting from 8-bit to Unicode after the
shared with stringobject.c, converting from 8-bit to Unicode after the
...
@@ -8426,6 +8428,7 @@ formatlong(PyObject *val, int flags, int prec, int type)
...
@@ -8426,6 +8428,7 @@ formatlong(PyObject *val, int flags, int prec, int type)
return
result
;
return
result
;
}
}
#if 0
static int
static int
formatint(Py_UNICODE *buf,
formatint(Py_UNICODE *buf,
size_t buflen,
size_t buflen,
...
@@ -8501,6 +8504,7 @@ formatint(Py_UNICODE *buf,
...
@@ -8501,6 +8504,7 @@ formatint(Py_UNICODE *buf,
else
else
return longtounicode(buf, buflen, fmt, x);
return longtounicode(buf, buflen, fmt, x);
}
}
#endif
static
int
static
int
formatchar
(
Py_UNICODE
*
buf
,
formatchar
(
Py_UNICODE
*
buf
,
...
...
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