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
f69633e4
Kaydet (Commit)
f69633e4
authored
Agu 15, 1997
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made AEDesc_{New,Convert} global
üst
61000333
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
AEmodule.c
Mac/Modules/ae/AEmodule.c
+5
-5
aesupport.py
Mac/Modules/ae/aesupport.py
+3
-3
No files found.
Mac/Modules/ae/AEmodule.c
Dosyayı görüntüle @
f69633e4
...
@@ -87,7 +87,7 @@ static PyObject *AE_Error;
...
@@ -87,7 +87,7 @@ static PyObject *AE_Error;
/* ----------------------- Object type AEDesc ----------------------- */
/* ----------------------- Object type AEDesc ----------------------- */
staticforward
PyTypeObject
AEDesc_Type
;
PyTypeObject
AEDesc_Type
;
#define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type)
#define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type)
...
@@ -96,7 +96,7 @@ typedef struct AEDescObject {
...
@@ -96,7 +96,7 @@ typedef struct AEDescObject {
AEDesc
ob_itself
;
AEDesc
ob_itself
;
}
AEDescObject
;
}
AEDescObject
;
static
PyObject
*
AEDesc_New
(
itself
)
PyObject
*
AEDesc_New
(
itself
)
AEDesc
*
itself
;
AEDesc
*
itself
;
{
{
AEDescObject
*
it
;
AEDescObject
*
it
;
...
@@ -105,7 +105,7 @@ static PyObject *AEDesc_New(itself)
...
@@ -105,7 +105,7 @@ static PyObject *AEDesc_New(itself)
it
->
ob_itself
=
*
itself
;
it
->
ob_itself
=
*
itself
;
return
(
PyObject
*
)
it
;
return
(
PyObject
*
)
it
;
}
}
static
AEDesc_Convert
(
v
,
p_itself
)
AEDesc_Convert
(
v
,
p_itself
)
PyObject
*
v
;
PyObject
*
v
;
AEDesc
*
p_itself
;
AEDesc
*
p_itself
;
{
{
...
@@ -784,7 +784,7 @@ static PyMethodDef AEDesc_methods[] = {
...
@@ -784,7 +784,7 @@ static PyMethodDef AEDesc_methods[] = {
{
NULL
,
NULL
,
0
}
{
NULL
,
NULL
,
0
}
};
};
static
PyMethodChain
AEDesc_chain
=
{
AEDesc_methods
,
NULL
};
PyMethodChain
AEDesc_chain
=
{
AEDesc_methods
,
NULL
};
static
PyObject
*
AEDesc_getattr
(
self
,
name
)
static
PyObject
*
AEDesc_getattr
(
self
,
name
)
AEDescObject
*
self
;
AEDescObject
*
self
;
...
@@ -813,7 +813,7 @@ static PyObject *AEDesc_getattr(self, name)
...
@@ -813,7 +813,7 @@ static PyObject *AEDesc_getattr(self, name)
#define AEDesc_setattr NULL
#define AEDesc_setattr NULL
staticforward
PyTypeObject
AEDesc_Type
=
{
PyTypeObject
AEDesc_Type
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
PyObject_HEAD_INIT
(
&
PyType_Type
)
0
,
/*ob_size*/
0
,
/*ob_size*/
"AEDesc"
,
/*tp_name*/
"AEDesc"
,
/*tp_name*/
...
...
Mac/Modules/ae/aesupport.py
Dosyayı görüntüle @
f69633e4
...
@@ -162,10 +162,10 @@ initstuff = initstuff + """
...
@@ -162,10 +162,10 @@ initstuff = initstuff + """
module
=
MacModule
(
'AE'
,
'AE'
,
includestuff
,
finalstuff
,
initstuff
)
module
=
MacModule
(
'AE'
,
'AE'
,
includestuff
,
finalstuff
,
initstuff
)
class
AEDescDefinit
on
(
ObjectDefinition
):
class
AEDescDefinit
ion
(
Global
ObjectDefinition
):
def
__init__
(
self
,
name
,
prefix
=
None
,
itselftype
=
None
):
def
__init__
(
self
,
name
,
prefix
=
None
,
itselftype
=
None
):
ObjectDefinition
.
__init__
(
self
,
name
,
prefix
or
name
,
itselftype
or
name
)
Global
ObjectDefinition
.
__init__
(
self
,
name
,
prefix
or
name
,
itselftype
or
name
)
self
.
argref
=
"*"
self
.
argref
=
"*"
def
outputFreeIt
(
self
,
name
):
def
outputFreeIt
(
self
,
name
):
...
@@ -192,7 +192,7 @@ if (strcmp(name, "__members__") == 0)
...
@@ -192,7 +192,7 @@ if (strcmp(name, "__members__") == 0)
"""
)
"""
)
aedescobject
=
AEDescDefiniton
(
'AEDesc'
)
aedescobject
=
AEDescDefinit
i
on
(
'AEDesc'
)
module
.
addobject
(
aedescobject
)
module
.
addobject
(
aedescobject
)
functions
=
[]
functions
=
[]
...
...
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