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
cf261156
Kaydet (Commit)
cf261156
authored
10 years ago
tarafından
Stefan Krah
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Introduce and check for MPD_VERSION_HEX for precise management of builds
with an external libmpdec.
üst
298131a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
decimal.py
Lib/decimal.py
+1
-1
_decimal.c
Modules/_decimal/_decimal.c
+2
-2
mpdecimal.h
Modules/_decimal/libmpdec/mpdecimal.h
+6
-2
No files found.
Lib/decimal.py
Dosyayı görüntüle @
cf261156
...
...
@@ -140,7 +140,7 @@ __all__ = [
__version__
=
'1.70'
# Highest version of the spec this complies with
# See http://speleotrove.com/decimal/
__libmpdec_version__
=
"2.4.
0
"
# compatible libmpdec version
__libmpdec_version__
=
"2.4.
1
"
# compatible libmpdec version
import
math
as
_math
import
numbers
as
_numbers
...
...
This diff is collapsed.
Click to expand it.
Modules/_decimal/_decimal.c
Dosyayı görüntüle @
cf261156
...
...
@@ -39,8 +39,8 @@
#include "memory.h"
#if
MPD_MAJOR_VERSION != 2
#error "libmpdec
major version 2
required"
#if
!defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02040100
#error "libmpdec
version >= 2.4.1
required"
#endif
...
...
This diff is collapsed.
Click to expand it.
Modules/_decimal/libmpdec/mpdecimal.h
Dosyayı görüntüle @
cf261156
...
...
@@ -108,9 +108,13 @@ MPD_PRAGMA(MPD_HIDE_SYMBOLS_START)
#define MPD_MAJOR_VERSION 2
#define MPD_MINOR_VERSION 4
#define MPD_MICRO_VERSION
0
#define MPD_MICRO_VERSION
1
#define MPD_VERSION "2.4.0"
#define MPD_VERSION "2.4.1"
#define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
(MPD_MINOR_VERSION << 16) | \
(MPD_MICRO_VERSION << 8))
const
char
*
mpd_version
(
void
);
...
...
This diff is collapsed.
Click to expand it.
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