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
57c179c5
Kaydet (Commit)
57c179c5
authored
Mar 22, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove staticforward and statichere
üst
f84c38a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
18 deletions
+5
-18
object.h
Include/object.h
+0
-15
NEWS
Misc/NEWS
+2
-0
_sre.c
Modules/_sre.c
+3
-3
No files found.
Include/object.h
Dosyayı görüntüle @
57c179c5
...
...
@@ -685,21 +685,6 @@ PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
*/
PyAPI_DATA
(
int
)
_Py_SwappedOp
[];
/*
Define staticforward and statichere for source compatibility with old
C extensions.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure. Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.
(In fact, we expect that the compilers are all fixed eight years later.)
*/
#define staticforward static
#define statichere static
/*
More conventions
...
...
Misc/NEWS
Dosyayı görüntüle @
57c179c5
...
...
@@ -47,6 +47,8 @@ Core and Builtins
- input(), raw_input() and apply() are gone.
- Removed staticforward and statichere macros.
Extension Modules
-----------------
...
...
Modules/_sre.c
Dosyayı görüntüle @
57c179c5
...
...
@@ -2770,7 +2770,7 @@ pattern_getattr(PatternObject* self, char* name)
return
NULL
;
}
static
here
PyTypeObject
Pattern_Type
=
{
static
PyTypeObject
Pattern_Type
=
{
PyObject_HEAD_INIT
(
NULL
)
0
,
"_"
SRE_MODULE
".SRE_Pattern"
,
sizeof
(
PatternObject
),
sizeof
(
SRE_CODE
),
...
...
@@ -3251,7 +3251,7 @@ match_getattr(MatchObject* self, char* name)
/* FIXME: implement setattr("string", None) as a special case (to
detach the associated string, if any */
static
here
PyTypeObject
Match_Type
=
{
static
PyTypeObject
Match_Type
=
{
PyObject_HEAD_INIT
(
NULL
)
0
,
"_"
SRE_MODULE
".SRE_Match"
,
sizeof
(
MatchObject
),
sizeof
(
int
),
...
...
@@ -3361,7 +3361,7 @@ scanner_getattr(ScannerObject* self, char* name)
return
NULL
;
}
static
here
PyTypeObject
Scanner_Type
=
{
static
PyTypeObject
Scanner_Type
=
{
PyObject_HEAD_INIT
(
NULL
)
0
,
"_"
SRE_MODULE
".SRE_Scanner"
,
sizeof
(
ScannerObject
),
0
,
...
...
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