This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2016:data:projects:dln0 [2016/10/01 15:27] – [Procedure to obtain dln0] 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). | ||
Line 182: | Line 182: | ||
====In inc/ | ====In inc/ | ||
- | Finally we have support.h... this header will contain some information on helper functions utilized in the various unit tests. You really don't need to bother with this... in fact, do not use any of these functions in your implementation. | + | Finally we have support.h... this header will contain some information on helper functions utilized in the various unit tests. You really don't need to bother with this... in fact, do **not** use any of these functions in your implementation. |
====node library==== | ====node library==== | ||
In **src/ | In **src/ |