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
c379ade1
Kaydet (Commit)
c379ade1
authored
Kas 10, 2015
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pytime.c: rename pygettimeofday_new() to pygettimeofday()
I forgot to rename it in my previous refactoring of pytime.c.
üst
d2f69742
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pytime.c
Python/pytime.c
+3
-3
No files found.
Python/pytime.c
Dosyayı görüntüle @
c379ade1
...
@@ -449,7 +449,7 @@ _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts)
...
@@ -449,7 +449,7 @@ _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts)
#endif
#endif
static
int
static
int
pygettimeofday
_new
(
_PyTime_t
*
tp
,
_Py_clock_info_t
*
info
,
int
raise
)
pygettimeofday
(
_PyTime_t
*
tp
,
_Py_clock_info_t
*
info
,
int
raise
)
{
{
#ifdef MS_WINDOWS
#ifdef MS_WINDOWS
FILETIME
system_time
;
FILETIME
system_time
;
...
@@ -541,7 +541,7 @@ _PyTime_t
...
@@ -541,7 +541,7 @@ _PyTime_t
_PyTime_GetSystemClock
(
void
)
_PyTime_GetSystemClock
(
void
)
{
{
_PyTime_t
t
;
_PyTime_t
t
;
if
(
pygettimeofday
_new
(
&
t
,
NULL
,
0
)
<
0
)
{
if
(
pygettimeofday
(
&
t
,
NULL
,
0
)
<
0
)
{
/* should not happen, _PyTime_Init() checked the clock at startup */
/* should not happen, _PyTime_Init() checked the clock at startup */
assert
(
0
);
assert
(
0
);
...
@@ -554,7 +554,7 @@ _PyTime_GetSystemClock(void)
...
@@ -554,7 +554,7 @@ _PyTime_GetSystemClock(void)
int
int
_PyTime_GetSystemClockWithInfo
(
_PyTime_t
*
t
,
_Py_clock_info_t
*
info
)
_PyTime_GetSystemClockWithInfo
(
_PyTime_t
*
t
,
_Py_clock_info_t
*
info
)
{
{
return
pygettimeofday
_new
(
t
,
info
,
1
);
return
pygettimeofday
(
t
,
info
,
1
);
}
}
...
...
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