Changeset 1702:44d495c659b5 in lemon-0.x
- Timestamp:
- 10/03/05 16:22:10 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/list_graph.h
r1692 r1702 283 283 edges[edges[e.id].prev_in].next_in = edges[e.id].next_in; 284 284 else nodes[edges[e.id].target].first_in = edges[e.id].next_in; 285 if (nodes[n.id].first_in != -1) { 286 edges[nodes[n.id].first_in].prev_in = e.id; 287 } 285 288 edges[e.id].target = n.id; 286 289 edges[e.id].prev_in = -1; … … 295 298 edges[edges[e.id].prev_out].next_out = edges[e.id].next_out; 296 299 else nodes[edges[e.id].source].first_out = edges[e.id].next_out; 300 if (nodes[n.id].first_out != -1) { 301 edges[nodes[n.id].first_out].prev_out = e.id; 302 } 297 303 edges[e.id].source = n.id; 298 304 edges[e.id].prev_out = -1;
Note: See TracChangeset
for help on using the changeset viewer.