Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f69633e4
Commit
f69633e4
authored
Aug 15, 1997
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made AEDesc_{New,Convert} global
parent
61000333
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Mac/Modules/ae/AEmodule.c
Mac/Modules/ae/AEmodule.c
+5
-5
Mac/Modules/ae/aesupport.py
Mac/Modules/ae/aesupport.py
+3
-3
No files found.
Mac/Modules/ae/AEmodule.c
View file @
f69633e4
...
...
@@ -87,7 +87,7 @@ static PyObject *AE_Error;
/* ----------------------- Object type AEDesc ----------------------- */
staticforward
PyTypeObject
AEDesc_Type
;
PyTypeObject
AEDesc_Type
;
#define AEDesc_Check(x) ((x)->ob_type == &AEDesc_Type)
...
...
@@ -96,7 +96,7 @@ typedef struct AEDescObject {
AEDesc
ob_itself
;
}
AEDescObject
;
static
PyObject
*
AEDesc_New
(
itself
)
PyObject
*
AEDesc_New
(
itself
)
AEDesc
*
itself
;
{
AEDescObject
*
it
;
...
...
@@ -105,7 +105,7 @@ static PyObject *AEDesc_New(itself)
it
->
ob_itself
=
*
itself
;
return
(
PyObject
*
)
it
;
}
static
AEDesc_Convert
(
v
,
p_itself
)
AEDesc_Convert
(
v
,
p_itself
)
PyObject
*
v
;
AEDesc
*
p_itself
;
{
...
...
@@ -784,7 +784,7 @@ static PyMethodDef AEDesc_methods[] = {
{
NULL
,
NULL
,
0
}
};
static
PyMethodChain
AEDesc_chain
=
{
AEDesc_methods
,
NULL
};
PyMethodChain
AEDesc_chain
=
{
AEDesc_methods
,
NULL
};
static
PyObject
*
AEDesc_getattr
(
self
,
name
)
AEDescObject
*
self
;
...
...
@@ -813,7 +813,7 @@ static PyObject *AEDesc_getattr(self, name)
#define AEDesc_setattr NULL
staticforward
PyTypeObject
AEDesc_Type
=
{
PyTypeObject
AEDesc_Type
=
{
PyObject_HEAD_INIT
(
&
PyType_Type
)
0
,
/*ob_size*/
"AEDesc"
,
/*tp_name*/
...
...
Mac/Modules/ae/aesupport.py
View file @
f69633e4
...
...
@@ -162,10 +162,10 @@ initstuff = 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
):
ObjectDefinition
.
__init__
(
self
,
name
,
prefix
or
name
,
itselftype
or
name
)
Global
ObjectDefinition
.
__init__
(
self
,
name
,
prefix
or
name
,
itselftype
or
name
)
self
.
argref
=
"*"
def
outputFreeIt
(
self
,
name
):
...
...
@@ -192,7 +192,7 @@ if (strcmp(name, "__members__") == 0)
"""
)
aedescobject
=
AEDescDefiniton
(
'AEDesc'
)
aedescobject
=
AEDescDefinit
i
on
(
'AEDesc'
)
module
.
addobject
(
aedescobject
)
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