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
bca8c2eb
Commit
bca8c2eb
authored
Oct 12, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use double curly braces for the generation0/1/2 initializers, to shut
up GCC warnings.
parent
79fd0fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Modules/gcmodule.c
Modules/gcmodule.c
+3
-3
No files found.
Modules/gcmodule.c
View file @
bca8c2eb
...
...
@@ -32,9 +32,9 @@
/*** Global GC state ***/
/* linked lists of container objects */
PyGC_Head
_PyGC_generation0
=
{
&
_PyGC_generation0
,
&
_PyGC_generation0
,
0
};
static
PyGC_Head
generation1
=
{
&
generation1
,
&
generation1
,
0
};
static
PyGC_Head
generation2
=
{
&
generation2
,
&
generation2
,
0
};
PyGC_Head
_PyGC_generation0
=
{
{
&
_PyGC_generation0
,
&
_PyGC_generation0
,
0
}
};
static
PyGC_Head
generation1
=
{
{
&
generation1
,
&
generation1
,
0
}
};
static
PyGC_Head
generation2
=
{
{
&
generation2
,
&
generation2
,
0
}
};
static
int
generation
=
0
;
/* current generation being collected */
/* collection frequencies, XXX tune these */
...
...
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