This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:fall2016:data:projects:dln0 [2016/10/01 15:28] – [In inc/support.h] wedge | haas:fall2016:data:projects:dln0 [2016/10/01 15:29] (current) – [In inc/node.h] wedge | ||
---|---|---|---|
Line 77: | Line 77: | ||
struct node { | struct node { | ||
union info payload; | union info payload; | ||
- | struct node *after; | + | struct node *there; |
- | struct node *prior; | + | struct node *back; |
}; | }; | ||
Line 92: | Line 92: | ||
</ | </ | ||
- | There is an addition of a "prior" node pointer, to allow connections to our previous neighbors. | + | There is an addition of a "back" node pointer, to allow connections to our previous neighbors. |
The node info element has been changed as well... instead of a singular value, it is now a union by the name of payload, which contains a value entry (a char entry), a data entry (Node pointer), and an other entry (a void pointer). | The node info element has been changed as well... instead of a singular value, it is now a union by the name of payload, which contains a value entry (a char entry), a data entry (Node pointer), and an other entry (a void pointer). |