This shows you the differences between two versions of the page.
haas:fall2018:data:projects:dln0 [2017/10/14 22:37] – external edit 127.0.0.1 | haas:fall2018:data:projects:dln0 [2018/10/15 14:37] (current) – [In inc/node.h] wedge | ||
---|---|---|---|
Line 62: | Line 62: | ||
struct node { | struct node { | ||
union info payload; | union info payload; | ||
- | struct node *to; | + | struct node *left; |
- | struct node *fro; | + | struct node *right; |
}; | }; | ||
Line 77: | Line 77: | ||
</ | </ | ||
- | There is an addition of a "fro" node pointer, to allow connections to our previous neighbors. | + | There is an addition of a "left" 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). |