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
8b7f131f
Commit
8b7f131f
authored
Jul 04, 2002
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gc_list_move defined but not used.
parent
e807e571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
Modules/gcmodule.c
Modules/gcmodule.c
+0
-15
No files found.
Modules/gcmodule.c
View file @
8b7f131f
...
...
@@ -155,21 +155,6 @@ gc_list_remove(PyGC_Head *node)
node
->
gc
.
gc_next
=
NULL
;
/* object is not currently tracked */
}
static
void
gc_list_move
(
PyGC_Head
*
from
,
PyGC_Head
*
to
)
{
if
(
gc_list_is_empty
(
from
))
{
gc_list_init
(
to
);
}
else
{
to
->
gc
.
gc_next
=
from
->
gc
.
gc_next
;
to
->
gc
.
gc_next
->
gc
.
gc_prev
=
to
;
to
->
gc
.
gc_prev
=
from
->
gc
.
gc_prev
;
to
->
gc
.
gc_prev
->
gc
.
gc_next
=
to
;
}
gc_list_init
(
from
);
}
/* append a list onto another list, from becomes an empty list */
static
void
gc_list_merge
(
PyGC_Head
*
from
,
PyGC_Head
*
to
)
...
...
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